*BSD News Article 71653


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!news.sprintlink.net!news-stk-200.sprintlink.net!newsfeed.internetmci.com!in2.uu.net!nntp.wwwi.com!rtd.com!dgy
From: dgy@rtd.com (Don Yuniskis)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Help deleting a user
Date: 21 Jun 1996 08:09:54 GMT
Organization: CICDO
Lines: 15
Message-ID: <4qdlcj$hp1@baygull.rtd.com>
References: <31c5fba8.407993@news.intergate.bc.ca> <4qd73s$id5@primus.ac.net>
NNTP-Posting-Host: seagull.rtd.com

In article <4qd73s$id5@primus.ac.net>, Mike Shultz <shultz@mail.gld.com> wrote:
>jordon@intergate.bc.ca (Jordon Randall) wrote:
>
>>I know this is a dumb question, but how do you erase a user? 
>
>man vipw
>rm -r /usr/home/????

Actually,
	find / -user joe -print
will let you see if there's anything else of his (joe's) lying around
on your system.  And,
	find / -user joe -depth -exec rm -df {} \;
will blindly erase everything of his.  There are other variations
on this theme...