home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!caen!batcomputer!theory.TC.Cornell.EDU!mdw
- From: mdw@theory.TC.Cornell.EDU (Matt Welsh)
- Subject: Re: rm Security Problem!
- Message-ID: <1992Nov16.190046.29398@tc.cornell.edu>
- Sender: news@tc.cornell.edu
- Nntp-Posting-Host: theory.tc.cornell.edu
- Organization: Cornell Theory Center
- References: <1992Nov16.133710.20417@r-node.gts.org>
- Date: Mon, 16 Nov 1992 19:00:46 GMT
- Lines: 16
-
- In article <1992Nov16.133710.20417@r-node.gts.org> 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!
-
- Recompiling won't help, 'rm' only uses unlink(). Sounds like you've got
- rm setuid; try changing the perms on it to 0655 or something similar.
-
- mdw
-
-