home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / linux / 6528 < prev    next >
Encoding:
Text File  |  1992-07-23  |  1.9 KB  |  48 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!gatech!destroyer!ubc-cs!unixg.ubc.ca!kakwa.ucs.ualberta.ca!sspiff!dje
  3. From: dje@sspiff.ampr.ab.ca (Doug Evans)
  4. Subject: Re: Logging as root....bad idea?
  5. Organization: Edmonton, Alberta
  6. Date: Thu, 23 Jul 1992 14:53:32 GMT
  7. Message-ID: <1992Jul23.145332.1393@sspiff.ampr.ab.ca>
  8. X-Newsreader: Tin 1.1 PL4
  9. References: <9TP8NB3w165w@ssg.com>
  10. Lines: 36
  11.  
  12. unixsys@ssg.com (Rick Emerson) writes:
  13. >c3460344@fsu1.cc.fsu.edu (C3460344) writes:
  14. >
  15. >> 
  16. >> I use Linux on my PC at home.  It is in no way connected to any other 
  17. >> machines, and I am the sole user of it.  Is there anything wrong with 
  18. >> loggin in as root all the time?  Someone mentioned that it was a bad idea 
  19. >> because you can delete/modify ANY file.  Well, what else would someone want 
  20. >> but total controll over their system?  I have access to all of my DOS 
  21. >> files...what's the big deal?
  22. >> 
  23. >
  24. >Root has god-like powers.  When you sign on as a mere mortal and do
  25. >something silly, there's a chance the system will simply smite you for your
  26. >folly.  Do it under root and... oopsie!  Do yourself a favor and be mortal
  27. >where possible.  <grin>
  28. >
  29. >Rick
  30.  
  31. I second this. Stay out of root except when you absolutely have to!
  32.  
  33. EG: shutdown, editing /etc/passwd, and other maintenance stuff.
  34.  
  35. DOS gets away with this partly because one can undelete a file
  36. if one discovers one's mistake in time. With Unix(incl. Linux) that
  37. ain't so easy. Some people have versions of rm that work like the
  38. Macintosh trash can: the deleted files get moved to a temporary place
  39. so they can be recovered if the deletion was in error.
  40. But "rm" as shipped doesn't work like that.
  41.  
  42. You're only human and you *will* delete a file or make some other
  43. silly mistake. Use the protection features of the o/s to protect
  44. you from yourself.
  45. -- 
  46. Doug Evans               | "You're just supposed to sit here?"
  47. dje@sspiff.ampr.ab.ca    |               - Worf in a mud bath.
  48.