Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Feb 1997 12:37:37 -0800 (PST)
From:      Snob Art Genre <ben@narcissus.ml.org>
To:        Janusz Stal <eistal@cyf-kr.edu.pl>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: How to delete user ?
Message-ID:  <Pine.NEB.3.95.970225123547.1818F-100000@narcissus.ml.org>
In-Reply-To: <33134206.22A9@cyf-kr.edu.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 25 Feb 1997, Janusz Stal wrote:

> In order to add new user I use "adduser" command. Does anyone know
> how to delete user ? I have FreeBSD 2.1 Release.
> I'm sorry I haven't got subscriber of this list so mail to me
> directly, please.
> 

There are scripts around that can do it, but you should know anyway:

1) Use vipw to delete their entry in the passwd file.  
2) Use your editor of choice to remove their group from /etc/group.
3) rm -r /usr/home/whatever
4) rm /var/mail/whatever

where whatever is the login of the user.

> 
> Thanks in advance.
> 
> ---
> Janusz Stal, Cracow, Poland
> 
> 
> 



 Ben

"You have your mind on computers, it seems."




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95.970225123547.1818F-100000>