home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / admin / 4613 < prev    next >
Encoding:
Text File  |  1992-08-20  |  1.7 KB  |  46 lines

  1. Newsgroups: comp.unix.admin
  2. Path: sparky!uunet!usc!sol.ctr.columbia.edu!destroyer!fmsrl7!ef2007!mjo
  3. From: mjo@ef2007.efhd.ford.com (Mike O'Connor)
  4. Subject: Re: Prevent user from editing /etc/passwd
  5. Message-ID: <BtAE8H.EFD@ef2007.efhd.ford.com>
  6. X-Disclaimer: Not an official spokesperson for Ford OPEO
  7. Reply-To: Mike O'Connor <mjo@fmsrl7.srl.ford.com>
  8. Organization: International Affairs, Overseas Engineering, "Fordz"
  9. References: <1992Aug17.131329.22491@cpp.ob.open.de>
  10. Date: Thu, 20 Aug 1992 14:43:28 GMT
  11. Lines: 33
  12.  
  13. In article <1992Aug17.131329.22491@cpp.ob.open.de>
  14. schweik@cpp.ob.open.de (Martin Schweikert) writes:
  15.  
  16. :I have a user on my SVR3 machine who knows - and must know :-( - the
  17. :root password.
  18.  
  19. Why must he know the root password?  
  20.  
  21. :I tried to find a method to prevent him from editing /etc/passwd. It's
  22. :quite difficult.
  23.  
  24. This is a social administrative issue, not a technical issue.  If he's
  25. not supposed to be editing /etc/passwd and he is, talk to him -- get
  26. his side of the story.  If that fails, talk to his boss.
  27.  
  28. :Because I know he uses vi, I tried to replace /usr/bin/vi by a shell
  29. :script that tests if one of its parameters is *passwd. If so,
  30.  
  31. Do you have "vipw" on your system?  Editing the system passwd without
  32. locking seems bad, here.  
  33.  
  34. :I would like to keep things as simple as possible ...
  35.  
  36. Kludging system tools for a particular user is NOT elegant, simple,
  37. fun, or even fattening.  
  38.  
  39.                         ...Mike
  40.  
  41. -- 
  42.  Michael J. O'Connor           |  Internet:  mjo@fmsrl7.srl.ford.com
  43.  Ford Motor Company, OPEO      |  UUCP:      ...!{backbone}!fmsrl7!mjo
  44.  20000 Rotunda, Bldg. 1-3001   |  Phone:     +1 (313) 248-1260
  45.  Dearborn, MI  48121           |  Fax:       +1 (313) 323-6277
  46.