*BSD News Article 90332


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!goanna.cs.rmit.edu.au!news.apana.org.au!cantor.edge.net.au!news.teragen.com.au!news.access.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.ececs.uc.edu!newsfeeds.sol.net!newspump.sol.net!mindspring!psinntp!ns2.telegroup.com!usenet
From: Richard Windmann <richardw@mail.telegroup.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: HELP! how do you remove a user from BSD ?????
Date: Tue, 04 Mar 1997 13:38:58 -0600
Organization: Telegroup, Inc.
Lines: 22
Message-ID: <331C7A52.5063@mail.telegroup.com>
References: <01bbede1$0735a000$664c1bcc@tony.gcr1.com> <331B393F.41C67EA6@netsinc.com> <331B8DA4.4EF0@postoffice.ptd.net>
Reply-To: richardw@mail.telegroup.com
NNTP-Posting-Host: fw.telegroup.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.0b2 (WinNT; I)
To: "Thomas M. Sommers" <tms2@postoffice.ptd.net>
X-Priority: 3 (Normal)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:36558

Thomas M. Sommers wrote:
> 
> Tim Daneliuk wrote:
> >
> > The simplest way I know is to run 'vipw' and delete the line
> > containing the entry for that user.  Be sure also to remove that user's
> > directory and their entries in the /etc/group file.
> 
> Don't overlook the possibility that the to-be-deleted user may own files
> in other directories.

In particular...

/var/mail/username
/var/mail/.username.pop

/usr/home/username (Check the directory first - might contain a sym link
to / and that would be painful - wouldn't it?)

/etc/aliases (check to make sure the have no aliases)

Rick