From owner-freebsd-questions Tue Feb 25 12:38:07 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA14312 for questions-outgoing; Tue, 25 Feb 1997 12:38:07 -0800 (PST) Received: from narcissus.ml.org (root@brosenga.Pitzer.edu [134.173.120.201]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA14307 for ; Tue, 25 Feb 1997 12:38:05 -0800 (PST) Received: from localhost (ben@localhost) by narcissus.ml.org (8.7.5/8.7.3) with SMTP id MAA01915; Tue, 25 Feb 1997 12:37:37 -0800 (PST) Date: Tue, 25 Feb 1997 12:37:37 -0800 (PST) From: Snob Art Genre To: Janusz Stal cc: freebsd-questions@FreeBSD.ORG Subject: Re: How to delete user ? In-Reply-To: <33134206.22A9@cyf-kr.edu.pl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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."