Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!qns3.qns.com!imci4!newsfeed.internetmci.com!news.mathworks.com!news-res.gsl.net!news.gsl.net!nntp.coast.net!oleane!francenet.fr!itesec!sidhe.frmug.fr.net!frmug.fr.net!penelope.frmug.fr.net!not-for-mail From: sn@penelope.frmug.fr.net (Sylvain Nierveze) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Removing Users from FreeBSD 2.0 Date: 1 Jun 1996 14:23:43 +0200 Organization: Penelope Corp. Lines: 14 Message-ID: <4opcof$3mp@penelope.frmug.fr.net> References: <4nvobf$dvu@news.starnet.net> <4nvuc8$622@atlas.uniserve.com> <4o1uvb$55j@baygull.rtd.com> <4ooa31$mmu@dfw-ixnews10.ix.netcom.com> Reply-To: sn@penelope.frmug.fr.net NNTP-Posting-Host: 127.0.0.1 X-Newsreader: TIN [version 1.2 PL2] Takafumi Kamiya (takakami@ix.netcom.com) wrote: : I am having the same problem/question. : I deleted an entry from /etc/passwd , /etc/master.passwd , deleted home : directory, and I can still login as that user! And I rebooted, and I can still : login as that user!! That's because the passwd and master.passwd are not really used to accept logins. There are databases used for that: /etc/pwd.db and /etc/spwd.db. To keep the database consistent with the text files (passwd and master.passwd), use the pwd_mkdb(8) command. To modify the databases directly and keep them consistent, use the vipw(8) command. Manpages are available for both commands :-)