On Mon, 13 Jan 2003, Matthieu Herrb wrote: > -rwsr-xr-x 1 root wheel 1740879 Sep 30 22:36 /usr/X11R6/bin/XFree86 > > To fix the file modes run the following commands (as root): > > chown root /usr/X11R6/bin/XFree86 > chmod 4755 /usr/X11R6/bin/XFree86 > > Otherwise you can use xdm (or gdm or kdm from Gnome/KDE) to start the > X server as root during boot for you. This is the prefered solution if > you don't trust the X server enough to have it installed setuid.
More complete than what I wrote :) (on my Debian 3.0 XFree86 has the mode bits 4711 -- there's no need for anybody to read the binary and it makes harder, in principle, for Evil Hackers to look for holes in it if they can't read it) I still think it would be great if the X server gave an error message along the above lines -- it would even know whether the chown or chmod command could be left out (if either the owner or the suid bit was already correct). -Peter _______________________________________________ XFree86 mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86

