Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!lucy.swin.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.ececs.uc.edu!news.kei.com!news.mathworks.com!news.maxwell.syr.edu!news-feed.inet.tele.dk!news.algonet.se!news.algonet.se!bengt!sirius From: sirius@bengt.algonet.se (Saltsjobadens Samskola) Newsgroups: comp.unix.bsd.netbsd.misc Subject: Re: Can't add user in NetBSD/mac68k Date: 9 Feb 1997 17:11:16 GMT Organization: AlgoNet Public Access Node, Stockholm Lines: 21 Message-ID: <5dl0fk$ra2@epimetheus.algonet.se> References: <5d7pmv$b90@epimetheus.algonet.se> <5dajb0$k81@xanadu.io.com> <5df32r$klf@epimetheus.algonet.se> NNTP-Posting-Host: bengt.algonet.se NNTP-Posting-User: b3107a9cdcd717ac993c87732e2a5b740 X-Newsreader: TIN [version 1.2 PL2] Xref: euryale.cc.adfa.oz.au comp.unix.bsd.netbsd.misc:5330 Saltsjobadens Samskola (sirius@aristotle.algonet.se) wrote: : 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? I fixed it now. The problem was the format...