[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re[2]: startx not for normal user?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: MD5

Hello Remco,

With reference to your great message on below,
RvtV> My FreeBSD installation (also using XFree86 3.3.6) sets up like this:

RvtV> lrwxr-xr-x  1 root  wheel        9 May 11 11:01 /usr/X11R6/bin/X -> XF86_SVGA
RvtV> -rwxr-xr-x  1 root  wheel  3482353 May 11 11:00 /usr/X11R6/bin/XF86_SVGA
RvtV> -rws--x--x  1 root  wheel     7573 May 11 11:01 /usr/X11R6/bin/Xwrapper
RvtV> -rwxr-xr-x  1 root  wheel     1652 May 11 11:00 /usr/X11R6/bin/startx
RvtV> -rwxr-xr-x  1 root  wheel    10344 May 11 11:00 /usr/X11R6/bin/xinit

RvtV> As you can see only the "trusted" Xwrapper executable is SUID.  But
RvtV> Xwrapper is missing from my Debian potato installation..

On my holy debian:

evil@gateway:/etc/X11$ ls /usr/X11R6/bin/X -l
- -rwsr-sr-x    1 root     root         7100 May 30 08:22 /usr/X11R6/bin/X

X should be Xwrapper thyself.. :-)


RvtV> On Tue, Sep 04, 2001 at 01:32, Calvin Chong wrote:

>> Hello Martin,
>>
>> With reference to your great message on below,
>> MFK> also sprach Calvin Chong (on Tue, 04 Sep 2001 12:21:25AM +0800):
>> >> Please check that your X is chmod'ed to rwsrwsr-x
>>
>> MFK> don't make X setuid!!!
>>
>> if I don't make /usr/bin/X11/X suid how can Xwrapper work?
>> correct me if i'm wrong.. :-)
>>
>> regards,
>> evil
>>
>> MFK> martin;              (greetings from the heart of the sun.)
>> MFK>   \____ echo mailto: !#^."<*>"|tr "<*> mailto:"; net@madduck






- --
echo 1 > /dev/null

-----BEGIN PGP SIGNATURE-----
Version: 2.6

iQCVAwUAO5SneadYxxvLMsVbAQGoTAQAkoGFQBtGD7ikvvztMLUdwikUxwlSqoBl
t4i9OVDMe7PHrRwehGxJKIaK8etrhBmt6d4Ju/vtLd7Eif5b5lJQF4+Hgz65TFuN
TRlDQ+EI/L7sqiM5wXytJ9ZgwiyVKe4UbowreYlRRDV/zMiz73xZ+uoNSPtxQ2yo
KhHhitIdDwA=
=e8tS
-----END PGP SIGNATURE-----



Reply to: