home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / linux / 16852 < prev    next >
Encoding:
Internet Message Format  |  1992-11-16  |  1.3 KB

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