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

  1. Newsgroups: comp.unix.admin
  2. Path: sparky!uunet!caen!uwm.edu!ux1.cso.uiuc.edu!treincke
  3. From: treincke@ux1.cso.uiuc.edu (Tim Reincke)
  4. Subject: Re: Prevent user from editing /etc/passwd
  5. Message-ID: <BtAF2E.G33@ux1.cso.uiuc.edu>
  6. Organization: University of Illinois at Urbana
  7. References: <1992Aug17.131329.22491@cpp.ob.open.de>
  8. Date: Thu, 20 Aug 1992 15:01:12 GMT
  9. Lines: 36
  10.  
  11. schweik@cpp.ob.open.de (Martin Schweikert) writes:
  12.  
  13. >Hi!
  14.  
  15. >I have a user on my SVR3 machine who knows - and must know :-( - the
  16. >root password.
  17.  
  18. >I tried to find a method to prevent him from editing /etc/passwd. It's
  19. >quite difficult.
  20.  
  21. >[...]
  22.  
  23. >Now, my question: is there another possibility than writing a C program
  24. >that exec()s vi? Not that it was a problem to write such a program, but
  25. >I would like to keep things as simple as possible ...
  26.  
  27. >Martin
  28.  
  29. If I were you and had an unauthorized user who knew the root password, I would
  30. change the root password and send the user a strong warning against such 
  31. activity.  If the user knew the root password and was messing around with
  32. important system files (like /etc/passwd), I would suspend his account, no
  33. questions asked.
  34.  
  35. Don't fool around with security hacks to solve the problem.  The problem does
  36. not lie in running vi or ex, it lies in the hands of an irresponsible user
  37. who does not deserve access to your system.
  38.  
  39. - Tim
  40. --
  41. --------------------------------------------------------------------------------
  42. Timothy J. Reincke                         | Email to: treincke@uiuc.edu
  43. Junior, Computer Science                   |       Or: treincke@ux1.cso.uiuc.edu
  44. CCSO Resource Information Consultant       |------------------------------------
  45. University of Illinois at Urbana-Champaign | "It's okay...I'm with the band."
  46. --------------------------------------------------------------------------------
  47.