Date: Tue, 23 Jun 1998 00:08:59 -0500 (CDT) From: Dave Bodenstab <imdave@mcs.net> To: freebsd-questions@FreeBSD.ORG, martin.poulin@altavista.net Subject: Re: deleting users Message-ID: <199806230508.AAA05067@base486.home.org>
next in thread | raw e-mail | index | archive | help
> From: martin.poulin@altavista.net > > I have recently taken over administration of an old > 2.0.5-Release box, and there are several user accounts > that need to be removed. However, the "rmuser" command > does not seem to work in this release. If I have to > remove the accounts manually, what would be the best > way to go about it? I am assuming that I will need to > remove them from /etc/master.passwd, as well as delete > their home directories. Is there anything else that > needs to be done? As others have already mentioned: rm -fr user's $HOME run vipw - remove user /etc/group - remove group if necessary /var/mail/ - remove mailbox In addition: /etc/aliases - remove any alias' if necessary & re-run newaliases /var/cron/tabs/ - remove any crontabs /var/at/jobs/ - remove any at jobs /etc/exports - if user's $HOME was exported /etc/fstab - if user's $HOME was mounted via NFS That's all I can think of... Dave Bodenstab imdave@mcs.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806230508.AAA05067>