home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!mcsun!sun4nl!nikhefk!wkasdo
- From: wkasdo@paramount.nikhefk.nikhef.nl (Willem Kasdorp)
- Subject: Re: rm Security Problem!
- Message-ID: <1992Nov18.124056.3460@paramount.nikhefk.nikhef.nl>
- Organization: NIKHEFK
- References: <1992Nov16.133710.20417@r-node.gts.org> <1e8mhlINNcij@matt.ksu.ksu.edu> <1992Nov17.215558.3558@csd.uwe.ac.uk>
- Date: Wed, 18 Nov 1992 12:40:56 GMT
- Lines: 25
-
- root@slave.uwe.ac.uk (Operator (Phil/Dylan)) writes:
-
- >not even close! it is a true bug,... If I find the sources for rm i'll
- >recompile it,.. a true 755 rm from the sls release will delete ANY file
- >no matter what the owner or group is
-
- I don't think it's in the rm sources. These kind of file operations are
- ultimately done by the kernel, so if there is a bug it should be
- in the kernel. It seems more likely to me that there is a problem
- with the directory permissions. For instance, /etc on my
- SparcStation looks like:
-
- drwxr-sr-x 10 bin staff 2560 Nov 16 15:27 etc/
-
- which is ok. But if it looks like:
-
- drwxrwxrwx 10 bin staff 2560 Nov 16 15:27 etc/
-
- you might have a problem.
-
- Alternatively, what is the user-id of the user (guest?) you mentioned?
- If it's 0 (root) or bin's id then it would explain everything...
- The same principle holds for the group id.
-
- hope this helps, Willem Kasdorp
-