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!news.maxwell.syr.edu!nntp.uio.no!news.kth.se!tybalt.admin.kth.se!merope.saaf.se!electra.saaf.se!not-for-mail
From: gorhas@electra.saaf.se (G|ran Hasse)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: removeuser
Date: 24 May 1997 07:01:57 +0200
Organization: Svensk Amat|rAstronomisk F|rening
Lines: 32
Message-ID: <5m5so5$cfi@electra.saaf.se>
References: <42c.1250.66@p-corner.com> <5lvu76$3sl$1@nntp2.ba.best.com>
NNTP-Posting-Host: electra.saaf.se
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:41624
In article <5lvu76$3sl$1@nntp2.ba.best.com>,
Zenin <good.luck@getting.spam.to.zenin.at.best.com> wrote:
>Admiral Coeyman <admiral.coeyman@p-corner.com> wrote:
>> FreeBSD,
>> WE're running FreeBSD 2.1.5 here and could use a utility to remove users.
>> I read about a perl script called removeuser, but couldn't find it on the CPAN
>> archive sites I checked. Does anybody know where I can get it?
>> -ADMIRAL COEYMAN
>> http://www.corner.net/admiral/
>
> man 8 rmuser
But you must also do a
find / -user user -exec rm -f {} \;
I would recommend a perl script to make backup of the users files and
then remove him/her from /etc/passwd and then remove the files.
>
>-Zenin
> zenin @ best . com
--
-------------------------------------------------------------------
Göran Hasse gh@saaf.se Tel: +46 8 7730148
Raditex AB http://www.raditex.se Fax: +46 8 7730902
Kungsgatan 71 Minicall: 0740-167443
112 27 STOCKHOLM, SWEDEN