On Mon, May 25, 2009 at 12:04, Chris Jones <[email protected]> wrote: > On Mon, May 25, 2009 at 04:11:28AM EDT, Foss User wrote: >> I installed xserver-xorg like this: >> >> aptitude install xserver-xorg >> >> I see two commands have appeared. >> >> X from xserver-xorg >> Xorg from xserver-xorg-core >> >> What is the difference between the two commands? > > For what it's worth: /usr/bin/X is a wrapper that runs setuid root. > After doing minimal initialization that requires running setuid root it > drops root privileges and exec's the actual Xserver - /usr/bin/Xorg. > > There may be other reasons, but one thing that comes to mind is that > this approach keeps the code that needs to run privileged to a minimum > to reduce the risk of security holes.
Of course, once we get Kernel Mode Setting, X won't need suid at all. Yay! Cheers, Kelly Clowers -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

