Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 97 12:30:06 +0100
From:      garyj@frt.dec.com
To:        Tri Sakti Soebagyono <sakti@idola.net.id>
Cc:        questions@freebsd.org
Subject:   Re: Delete User 
Message-ID:  <9701231130.AA10425@cssmuc.frt.dec.com>
In-Reply-To: Message from Tri Sakti Soebagyono <sakti@idola.net.id>  of Thu,  23 Jan 97 17:32:50 GMT.

next in thread | previous in thread | raw e-mail | index | archive | help

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 ?

---
Gary Jennejohn				(work) gjennejohn@frt.dec.com
					(home) Gary.Jennejohn@munich.netsurf.de
					(play) gj@freebsd.org





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9701231130.AA10425>