home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / linux / 6578 < prev    next >
Encoding:
Internet Message Format  |  1992-07-23  |  1.4 KB

  1. Path: sparky!uunet!olivea!decwrl!mips!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!csn!boulder!ophelia!drew
  2. From: drew@ophelia.cs.colorado.edu (Drew Eckhardt)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: Logging as root....bad idea?
  5. Message-ID: <1992Jul23.231007.19451@colorado.edu>
  6. Date: 23 Jul 92 23:10:07 GMT
  7. References: <9TP8NB3w165w@ssg.com> <1992Jul23.145332.1393@sspiff.ampr.ab.ca> <*6a1H7ren8@atlantis.psu.edu>
  8. Sender: news@colorado.edu (The Daily Planet)
  9. Organization: University of Colorado at Boulder
  10. Lines: 18
  11. Nntp-Posting-Host: ophelia.cs.colorado.edu
  12.  
  13. In article <*6a1H7ren8@atlantis.psu.edu> bairstow@haydn.psu.edu (Steven Bairstow) writes:
  14. >
  15. >What I would like is a new version of rm, where are the lastest sources? 
  16. >The version that came on the last root disk allows someone in group other 
  17. >to erase a file owned by root in group wheel. Even with the file I'm 
  18. >trying to erase set to permissions 600, it will ask if you want to overide 
  19. >these permissions and then merrily delete it. I have checked and rm is not 
  20. >setuid. What is going on here?
  21.  
  22. 1.  Check the permissions on the directory.  If it is writeable to you,
  23.     but not sticky (bit 1000), you will be able to delete things 
  24.     in it.  /tmp, /usr/tmp, /usr/preserve, and any other world 
  25.     writeable directories should be sticky too.
  26.  
  27. 2.  What is your UID?  Under bash, the UID shell variable will be set.
  28.     If you have a second entry in the password file with UID 
  29.     0, that will be treated as root too.
  30.      
  31.