Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Oct 1996 11:01:58 -0500 (CDT)
From:      "Paul T. Root" <proot@horton.iaces.com>
To:        kims@ezenet.com (Chun man Ng)
Cc:        questions@freebsd.org
Subject:   Re: Problem with delete user
Message-ID:  <199610181601.LAA00873@horton.iaces.com>
In-Reply-To: <1.5.4.32.19961018155945.00665b14@ezenet.com> from Chun man Ng at "Oct 18, 96 08:59:45 am"

next in thread | previous in thread | raw e-mail | index | archive | help
In a previous message, Chun man Ng said:
> Hi,
>         How can I delete a user? To add a user, I use adduser but what I can
> do to delete user. I try to delete the user entry in passwd file and
> master.passwd file but I doesn't work.
> 
> regard
> Kims
Please direct questions to questions@freebsd.org. I'm not tech support,
just a happy semi-knowledgable user.

Never just edit /etc/password and /etc/master.password. These are just files
convient to humans. The real file is pwd.db and you can't really read it.

What you want to do is use vipw to delete the user, this will do the right
thing for you.

-- 
Paul T. Root                    E/Mail: proot@iaces.com
200 S. 5th St. Suite 1100       PAG: +1 (800) SKY-PAGE PIN: 537-7370
Minneapolis, MN  55402          WRK: +1 (612) 663-1979
NIC:    PTR                     FAX: +1 (612) 663-8030




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