Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!inquo!dsw-eurorscg!nebo.vii.com!uunet!in1.uu.net!198.69.204.8!news.fast.net!newsgate.ptd.net!news.ptd.net!not-for-mail From: "Thomas M. Sommers" <tms2@postoffice.ptd.net> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: HELP! how do you remove a user from BSD ????? Date: Mon, 03 Mar 1997 21:49:08 -0500 Organization: ProLog - PenTeleData, Inc. Lines: 15 Message-ID: <331B8DA4.4EF0@postoffice.ptd.net> References: <01bbede1$0735a000$664c1bcc@tony.gcr1.com> <331B393F.41C67EA6@netsinc.com> NNTP-Posting-Host: cs4-13.cli.ptd.net NNTP-Posting-User: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.0Gold (WinNT; I) Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:36485 Tim Daneliuk wrote: > > Tony wrote: > > > > I've done it once before by deleting files, and it worked BUT there must be > > a command > > or a switch on a command to remove users from the system ???? > > > > 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.