*BSD News Article 50690


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!uwm.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!news.sprintlink.net!EU.net!Austria.EU.net!news.aut.alcatel.at!atusc75!ladavac
From: ladavac@aut.alcatel.at (Marino Ladavac)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: NIS with SUNOS4.1.3
Date: 11 Sep 1995 14:48:32 GMT
Organization: Alcatel Austria AG
Lines: 18
Message-ID: <431i80$s87@atusks02.aut.alcatel.at>
References: <42qgn6$e2m@gryphon.phoenix.net> <42r1vo$3j2@sol.ctr.columbia.edu>
NNTP-Posting-Host: atusc75.aut.alcatel.at
X-Newsreader: TIN [version 1.2 PL2]

Bill Paul (wpaul@ctr.columbia.edu) wrote:

: Also, DO NOT edit /etc/passwd: this file has no effect on
: system behavior. The administrator should edit only /etc/master.passwd
: and use pwd_mkdb(8) to rebuild the hashed databases afterwards.

: -Bill

Additionally, 
	vipw
should do all the necessary locking and call pwd_mkdb for you on exit
automatically.

The only downside is that it invokes vi for you (never tried to set 
EDITOR to something else; I always use vi as admin :) and if you don't
like that, tough :)

/Alby