Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 1997 11:09:56 -0500
From:      Jen and Luke <isis@servtech.com>
To:        gjennejohn@frt.dec.com
Cc:        Tri Sakti Soebagyono <sakti@idola.net.id>, questions@freebsd.org
Subject:   Re: Delete User
Message-ID:  <32E78D54.446B9B3D@servtech.com>
References:  <9701231130.AA10425@cssmuc.frt.dec.com>

next in thread | previous in thread | raw e-mail | index | archive | help
garyj@frt.dec.com wrote:
> 
> sakti@idola.net.id writes:
> > 1. What is a command to delete user ?
> 
> I think there's a deluser script, but I can't remember for which version
> it's standard.
> 
> > 2. I delete user with manual step :
> >       a. remove user property from /etc/passwd
> >       b. remove user's homdir
> >    why never success ?, I mean the user name is removed from /etc/passwd but
>  -they still success to login ?
> >
> 
> you *must* use vipw to change /etc/passwd, otherwise the password
> database file (which is what really gets used by login) is not
> updated. Did you use vipw ?
> 

 I do it this way:
	1. erase users line from /etc/master.passwd
	2. erase their dir
	3. run pwd_mkdb -p /etc/master.passwd

Does anyone know if thats wrong?
-- 
Jen, Luke,  Rusty the pink chicken, Ruckus the meowing U2, Telly the
'tiel 
and 5 kittys
http://www.servtech.com/public/isis/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32E78D54.446B9B3D>