home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / next / misc / 21864 < prev    next >
Encoding:
Internet Message Format  |  1992-11-10  |  2.2 KB

  1. Xref: sparky comp.sys.next.misc:21864 comp.sys.next:226
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!sun-barr!cs.utexas.edu!zaphod.mps.ohio-state.edu!rpi!think.com!yale.edu!jvnc.net!darwin.sura.net!europa.asd.contel.com!emory!ogicse!das-news.harvard.edu!cantaloupe.srv.cs.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!cs4w+
  3. From: cs4w+@andrew.cmu.edu (Charles William Swiger)
  4. Newsgroups: comp.sys.next.misc,comp.sys.next
  5. Subject: Re: Updating password files remotely...
  6. Message-ID: <wf02sa200WBKQ67VYl@andrew.cmu.edu>
  7. Date: 10 Nov 92 11:48:22 GMT
  8. Article-I.D.: andrew.wf02sa200WBKQ67VYl
  9. Organization: Senior, Chemistry, Carnegie Mellon, Pittsburgh, PA
  10. Lines: 32
  11. In-Reply-To: <1992Nov10.165408.11547@news2.cis.umn.edu>
  12.  
  13. Excerpts from netnews.comp.sys.next: 10-Nov-92 Updating password files
  14. rem.. by Robert J. Granvin@umnsta 
  15.  
  16. > Can someone give me pointers (email, please!) on the best way to update
  17. > user account information without having to go through the user interface
  18. > that it so plainly seems to want to force on you?  I've gone through the
  19. > FAQ's I can find, which has been enlightening on some things, but not this.
  20. > (Because of the network design and planned usage of the slab, all user
  21. > accounts will be on mounted drives - other than root and one or two other
  22. > accounts, nothing will physically reside on the NeXTstation itself...)
  23. >  
  24. > All recommendations for this novice-NeXT-site appreciated... Email is even
  25. > more appreciated...
  26.  
  27. Get a copy of the /etc/passwd file from the other machines onto the NeXT
  28. (or have it available from one of the NFS directories).  The appropriate
  29. command to load the passwd file into the NetInfo database is "niload -d
  30. passwd . < _DEC_passwd_file_".  Note that you must be root to do this.
  31.  
  32. If you want to automate this process, have this command run from crontab.
  33.  
  34. But you'd be much better off using yp/NIS; updating things like
  35. /etc/passwd when necessary is what yp/NIS was designed to do.
  36.  
  37. -Chuck
  38.  
  39.  
  40. +---------------------------------------------+ 
  41. |  Charles William Swiger -- CMU sucks rocks  | "The television screen is the
  42. |   AMS & normal mail: cs4w+@andrew.cmu.edu   | retina of the mind's eye."
  43. |    NeXTmail: <temporarily out of order>     |           
  44. +---------------------------------------------+            --Videodrome
  45.