*BSD News Article 88529


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!cpk-news-feed2.bbnplanet.com!news.bbnplanet.com!su-news-hub1.bbnplanet.com!arclight.uoregon.edu!news.algonet.se!news.algonet.se!aristotle!sirius
From: sirius@aristotle.algonet.se (Saltsjobadens Samskola)
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Re: Can't add user in NetBSD/mac68k
Date: 7 Feb 1997 11:18:51 GMT
Organization: AlgoNet Public Access Node, Stockholm
Lines: 18
Message-ID: <5df32r$klf@epimetheus.algonet.se>
References: <5d7pmv$b90@epimetheus.algonet.se> <5dajb0$k81@xanadu.io.com>
NNTP-Posting-Host: aristotle.algonet.se
NNTP-Posting-User: b3107a9cdcd717ac993c87732e2a5b740
X-Newsreader: TIN [version 1.2 PL2]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.netbsd.misc:5319

Michael Parson (mparson@io.com) wrote:
: In article <5d7pmv$b90@epimetheus.algonet.se>,
: Saltsjobadens Samskola <sirius@kairos.algonet.se> wrote:
: >There is some strange passwd system in NetBSD I've never seen before.
: >When I try to add a user in both the master.passwd- and the passwd-file,
: >the system can't find that user. And the passwd program says the 
: >passwd-file is in use sometimes and refers to /etc/ptmp.
: >Can someone tell me what is happening here???

: Don't edit /etc/passwd or /etc/master.passwd directly, use the
: vipw command.  It will open up the master.passwd file in your $VISUAL
: editor.  When you make the changes and exit out of the editor, it will
: automatically regenerate the the passwd databases that are used in
: NetBSD's shadowed password setup.

I have tried that to but it says that line #1 is corrupt or
something and I can't see any errors in it. If I can't fix
this, how do I disable the shadow system?