🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.misc
Article #3320

Re: Updating password files remotely...

#3320
From: Charles William Swiger
Date: Tue, 10 Nov 1992 11:48
32 lines
2288 bytes
Excerpts from netnews.comp.sys.next: 10-Nov-92 Updating password files
rem.. by Robert J. Granvin@umnsta 

> Can someone give me pointers (email, please!) on the best way to update
> user account information without having to go through the user interface
> that it so plainly seems to want to force on you?  I've gone through the
> FAQ's I can find, which has been enlightening on some things, but not this.
> (Because of the network design and planned usage of the slab, all user
> accounts will be on mounted drives - other than root and one or two other
> accounts, nothing will physically reside on the NeXTstation itself...)
>  
> All recommendations for this novice-NeXT-site appreciated... Email is even
> more appreciated...

Get a copy of the /etc/passwd file from the other machines onto the NeXT
(or have it available from one of the NFS directories).  The appropriate
command to load the passwd file into the NetInfo database is "niload -d
passwd . < _DEC_passwd_file_".  Note that you must be root to do this.

If you want to automate this process, have this command run from crontab.

But you'd be much better off using yp/NIS; updating things like
/etc/passwd when necessary is what yp/NIS was designed to do.

-Chuck


+---------------------------------------------+ 
|  Charles William Swiger -- CMU sucks rocks  | "The television screen is the
|   AMS & normal mail: cs4w+@andrew.cmu.edu   | retina of the mind's eye."
|    NeXTmail: <temporarily out of order>     |           
+---------------------------------------------+            --Videodrome
Technical Details
Message-ID: <wf02sa200WBKQ67VYl@andrew.cmu.edu>
Path: arc1-ca.pugleaf.net!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+

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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+
From: cs4w+@andrew.cmu.edu (Charles William Swiger)
Newsgroups: comp.sys.next.misc,comp.sys.next
Subject: Re: Updating password files remotely...
Message-ID: <wf02sa200WBKQ67VYl@andrew.cmu.edu>
Date: 10 Nov 92 11:48:22 GMT
Article-I.D.: andrew.wf02sa200WBKQ67VYl
Organization: Senior, Chemistry, Carnegie Mellon, Pittsburgh, PA
Lines: 32
In-Reply-To: <1992Nov10.165408.11547@news2.cis.umn.edu>