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

Re: startx not for normal user?



My FreeBSD installation (also using XFree86 3.3.6) sets up like this:

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

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


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


-- 
Our mission is to effectively simplify vertical assets and our
eyeballs.



Reply to: