View Single Post
Old 04-13-2004, 02:43 AM   #8
Logan Shaw
 
Posts: n/a
Re: How to change color depth on Ultra 60?

Robin KAY wrote:

> Logan Shaw wrote:
>
>> OK, I do not dispute that this is factual, but doesn't it seem
>> kind of, well, dumb?


> You made me unsure of myself and I had to check. It appears that, on
> Solaris 9 at least, m64config(1M) is a setuid executable and
> unprivileged users can change the colour depth (I haven't tested
> changing the resolution). I find it a little worrying that the console
> user can change this at will but I suppose that they could also smash
> the system with an axe ^_^.


Indeed, they could.

Well, that's interesting to know. It has been a while since I've
worked with real Sun hardware. These days I just run Solaris on
x86 systems, so I didn't know about m64config being setuid. (Not
that it should have to be -- setuid is almost inherently evil
in my opinion, and, also in my opinion, this should be handled
with an ioctl() against some device driver. But oh well.)

- Logan
  Reply With Quote