home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!ods!david
- From: david@ods.com (David Engel)
- Subject: Re: Security problem with "rm"
- Message-ID: <1992Dec15.025534.2387@ods.com>
- Organization: Optical Data Systems, Inc.
- X-Newsreader: TIN [version 1.1 PL8]
- References: <Bz9uF1.1AE@techbook.com>
- Date: Tue, 15 Dec 1992 02:55:34 GMT
- Lines: 25
-
- Martin Kosina (kosina@techbook.com) wrote:
- : I am having a serious security problem with the 'rm' command.
- : I have discovered that non-superusers can REMOVE files owned
- : by root. I doubt that such a serious bug could exist in Linux,
- : it must be something in my setup:
-
- : This is a file in /etc that I will try to delete:
-
- : -rw-r--r-- 1 root root 62 Dec 11 21:02 rc.local
-
- : When I do 'rm rc.local' rm responds:
-
- : rm: remove `rc.local`, overriding mode 0644?
-
- : If I than say yes, it will be DELETED !
-
- What are the permissions on /etc? You don't need access to a file to
- be able to delete it. All you need is write access to the directory
- the file is in.
-
- David
- --
- David Engel Optical Data Systems, Inc.
- david@ods.com 1101 E. Arapaho Road
- (214) 234-6400 Richardson, TX 75081
-