XFree86 hates non root users!!! plz help!!!
David Loszewski
stealth215 at mediaone.net
Sat Dec 8 00:40:52 EST 2001
yea, I dont' get the s, this is what I get:
sickness# ls -l /usr/X11R6/bin/XFree86
-rwxr-xr-x 1 root wheel 1761648 Dec 5 00:53 /usr/X11R6/bin/XFree86
when I do the 'chmod u+s XFree86' should I do that in the console? Not
running X at the time when I do this? or can I be running X Windows when
doing that?
Dave
mike ledoux wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>On Fri, Dec 07, 2001 at 11:58:54PM -0500, David Loszewski wrote:
>
>>X does point to XFree86, and what you mean it wasn't installed suid
>>root? I installed it as root and when I do ls -l to X I get this:
>>
>>sickness# ls -l X
>>lrwxr-xr-x 1 root wheel 7 Dec 5 00:53 X -> XFree86
>>
>>wouldn't that mean that it is installed as root? If not how can I fix it
>>so it is installed as suid root or how would I create the link from X to
>>Xwrapper?
>>
>
>All that means is that you aren't currently using Xwrapper at all.
>If 'ls -l XFree86' doesn't output something like:
>
>mwl at voyager:/usr/X11R6/bin>ls -l XFree86
>- -rws--x--x 1 root root 1736495 Jun 5 2001 XFree86*
> ^
> \___ the 's' is the important piece here.
>
>indicating that the XFree86 binary is suid root (meaning that it can
>execute as root even when run by a non-root user), then there are two
>easy options you have to fix this problem:
>
>1) make XFree86 suid root with a command like 'chmod u+s XFree86'; or
>
>2) use Xwrapper instead, by making 'X' a symlink to it: 'ln -sf Xwrapper X'.
>
>Either option should work. I won't discuss the relative merits of each
>solution, as they don't really matter in most environments.
>
>HTH,
>
>- --
>mwl+blu at alumni.unh.edu OpenPGP KeyID 0x57C3430B
>Holder of Past Knowledge CS, O-
>Put your wasted CPU cycles to use: http://www.distributed.net/
>"Smoking is the third safest method of weight loss, after fen-phen
> and heroin." http://www.topfive.com/
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.0.6 (GNU/Linux)
>Comment: For info see http://www.gnupg.org
>
>iD8DBQE8EaQZ5rgdHFfDQwsRAmtBAKDN5x6s6YRnWGWcrLf7qeIIGsZs7wCfdZ+I
>txRVf0Z4y8dbAfBYwi47GO0=
>=Xm05
>-----END PGP SIGNATURE-----
>_______________________________________________
>Discuss mailing list
>Discuss at blu.org
>http://www.blu.org/mailman/listinfo/discuss
>
> msg.pgp
>
> Content-Type:
>
> text/plain
>
>
More information about the Discuss
mailing list