XFree86 hates non root users!!! plz help!!!
John Abreau
jabr at blu.org
Fri Dec 7 19:05:34 EST 2001
David Loszewski <stealth215 at mediaone.net> writes:
> I did what you suggested and I still got the same error when trying to
> do a 'startx' under a different user otherthan root.
>
> I did a 'ls -l' on wrapper to see what it came up with for permissions
> and whis is what I got:
>
> sickness# ls -l /usr/X11R6/bin/Xwrapper
> -rwsr-xr-x 1 root wheel 7602 Sep 4 20:52 /usr/X11R6/bin/Xwrapper
>
> thx,
> Dave
Hm. If the binary is set-uid root, but it still complains that it isn't,
then I can think of only two possibilities: either the filesystem it's on
is mounted nosuid, or it's misinterpreting some other condition and
reporting
it incorrectly. For instance, if it's complaining because it cannot write
to an nfs-mounted directory.
The third possibility, of course, is that there's another factor I'm
overlooking :-P
As for the filesystem, here's an example of what I mean:
% mount
....
/dev/sda3 on / type ext2 (rw)
....
/dev/hdd1 on /disk2 type ext2 (rw,noexec,nosuid,nodev,user=jabr)
Note that my root filesystem is mounted with the option "rw" (read/write),
whereas my /disk2 filesystem is mounted with a bunch of options including
"nosuid". The "nosuid" option tells the system to ignore the set-uid flag
on the file.
--
John Abreau / Executive Director, Boston Linux & Unix
ICQ 28611923 / AIM abreauj / JABBER jabr at jabber.org / YAHOO abreauj
Email jabr at blu.org / WWW http://www.blu.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 344 bytes
Desc: not available
URL: <http://lists.blu.org/pipermail/discuss/attachments/20011207/5620fa46/attachment.sig>
More information about the Discuss
mailing list