home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!gatech!psuvax1!atlantis.psu.edu!copland!bairstow
- From: bairstow@copland.psu.edu (Steven Bairstow)
- Subject: Re: Logging as root....bad idea?
- Message-ID: <7u71Hg&!o8@atlantis.psu.edu>
- Sender: news@atlantis.psu.edu (Usenet)
- Organization: Penn State University
- References: <1992Jul23.145332.1393@sspiff.ampr.ab.ca> <*6a1H7ren8@atlantis.psu.edu> <1992Jul23.231007.19451@colorado.edu>
- Date: Sat, 25 Jul 92 18:05:42 GMT
- Lines: 19
-
- In article <1992Jul23.231007.19451@colorado.edu> drew@ophelia.cs.colorado.edu (Drew Eckhardt) writes:
- >
- >> [I was wondering how I could erase other's files.]
- >
- >1. Check the permissions on the directory. If it is writeable to you,
- > but not sticky (bit 1000), you will be able to delete things
- > in it. /tmp, /usr/tmp, /usr/preserve, and any other world
- > writeable directories should be sticky too.
- >
- >2. What is your UID? Under bash, the UID shell variable will be set.
- > If you have a second entry in the password file with UID
- > 0, that will be treated as root too.
- >
-
- The first paragraph says it all. I hadn't thought that you are changing the
- directory not really changing the file. Many have pointed this out; I've
- stopped replying to mail.
-
-
-