towsonu2003
May 3rd, 2006, 11:48 AM
Correct me if any of these assumptions are wrong here..
We run X with root privileges, right? as in
$ sudo /etc/init.d/gdm start
but we can also run X with user privileges by shutting down gdm and starting X with
$ startx
from a tty
Gnome launched like this will not even give you permission to shut down or restart the pc -only to log off. Gnome launched with sudo /etc/init.d/gdm start lets you shutdown or restart, hinting that it has more privileges that can be used.
am I right so far? if yes, my question is: are there risks associated with running X with root privileges?
PS. I'm not gonna say "let's change ubuntu". Just curious.
We run X with root privileges, right? as in
$ sudo /etc/init.d/gdm start
but we can also run X with user privileges by shutting down gdm and starting X with
$ startx
from a tty
Gnome launched like this will not even give you permission to shut down or restart the pc -only to log off. Gnome launched with sudo /etc/init.d/gdm start lets you shutdown or restart, hinting that it has more privileges that can be used.
am I right so far? if yes, my question is: are there risks associated with running X with root privileges?
PS. I'm not gonna say "let's change ubuntu". Just curious.