home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ukma!wupost!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!matt.ksu.ksu.edu!news
- From: probreak@matt.ksu.ksu.edu (James Michael Chacon)
- Newsgroups: comp.os.linux
- Subject: Re: rm Security Problem!
- Date: 16 Nov 1992 11:42:13 -0600
- Organization: Kansas State University
- Lines: 27
- Message-ID: <1e8mhlINNcij@matt.ksu.ksu.edu>
- References: <1992Nov16.133710.20417@r-node.gts.org>
- NNTP-Posting-Host: matt.ksu.ksu.edu
-
- tfoley@r-node.gts.org (Tim Foley) writes:
-
- >
- > I think I may have found a large problem with 'rm' as it comes in the
- >SLS distribution.
- > Logged in as *anyone* I can delete *almosy any file* with the rm
- >command, it just comes up and asks 'override mode 0600' or whatever
- >and away it goes! I was able to delete copies of my passwd and inittab
- >in the /etc dir using the guest login....very annoying, now disabled!
- > Anyone know whats going on with rm and where I can get the source to
- >recompile it fixed!
- >
- > Tim
-
-
-
- Sounds as if there is a permission problem with the rm included on the SLS
- distribution. Look at the permissions of your rm.
- if they look anything like this, then they are wrong:
-
- -rwsr-xr-x 1 root root ...... rm
-
- If that is anything close, the setuid bit is set, and rm will act as if
- root entered the command. You just need to do a chmod 755 on /bin/rm to
- fix this. Hope this helps.
-
- James
-