Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!cam-news-hub1.bbnplanet.com!news.bbnplanet.com!news.mathworks.com!news-xfer.cybernet.dk!news.kolumbus.fi!news.funet.fi!nntp.hut.fi!news.cs.hut.fi!not-for-mail From: Jari Kokko <nobody@nowhere.net> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: removing a user Date: 16 Apr 1997 10:42:45 +0300 Organization: Helsinki University of Technology Lines: 14 Sender: jkokko@niksula.hut.fi Distribution: world Message-ID: <5j1vtl$hbq$1@jojo.cs.hut.fi> References: <01bc49d8$83b56cc0$e60862ce@zero.super-highway.net> <5j1egh$7fk@lace.colorado.edu> NNTP-Posting-Host: jojo.cs.hut.fi X-email-spoofing-reason: To avoid spamming automagic email grabbers Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:39135 In article <5j1egh$7fk@lace.colorado.edu>, Frank Crary <fcrary@rintintin.Colorado.EDU> wrote: > I'd try brute force and ignorance. Edit the /etc/passwd file and > delete the line containing the user's name. Then remove the > user's home directory by hand, with rm -r * and rmdir. I'd change the encrypted password to a '*' and the shell to '/non/exist.ent'. This can probably be done with a script... That way, if e.g. files owned by the user retain the original owner information. Of course, if you run low on UID's you have to clean up. But I guess the max uid value is at least 32767. Jari Kokko