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

Re: suid problem




On Tue, 10 Dec 1996, Hamish Moffatt wrote:

> 
> [8:03pm] root@hamishpc:/usr/X11R6/bin# ls -l XF86_S3
> -rwsr-xr-x   1 root     root      2025716 Nov 22 15:18 XF86_S3
> 
> [8:03pm] root@hamishpc:/usr/local/deb/x# dpkg -i xserver-s3_3.2-1.deb
> (Reading database ... 22830 files and directories currently installed.)
> Preparing to replace xserver-s3 3.2-1 (using xserver-s3_3.2-1.deb) ...
> Unpacking replacement xserver-s3 ...
> Setting up xserver-s3 (3.2-1) ...
> 
> [8:03pm] root@hamishpc:/usr/X11R6/bin# ls -l XF86_S3
> -rwxr-xr-x   1 root     root      2025716 Nov 22 15:18 XF86_S3
> 
> Now X won't run, of course.

Why not? 
In debian, /usr/X11R6/bin/X is not a link to the Xserver but its a wrapper
program...

root@csomalungma:~# ls -la /usr/X11R6/bin/X  
-rwsr-xr-x   1 root     root         4032 Nov 22 05:20 /usr/X11R6/bin/X

which parses the /etc/X11/config file and then runs the X server which
itself is not suid, so a user couldnt get around the /etc/X11/config

Greg


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: