Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Apr 1997 14:00:28 -0700 (PDT)
From:      Snob Art Genre <ben@narcissus.ml.org>
To:        Lord GoViL <govil@super-highway.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Is this a dumb question?
Message-ID:  <Pine.NEB.3.95.970415135730.2513A-100000@narcissus.ml.org>
In-Reply-To: <3.0.32.19970415153446.006ef63c@super-highway.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 15 Apr 1997, Lord GoViL wrote:

> I can't figure out what I thought should be a easy thing to do. Remove a
> user from the system. Is there a easy way to delete them or do I have to
> delete them step by step from wherever thier name appears in the system?
> help! :)

It's not a dumb question.  There is a perl script called removeuser that's
available on cdrom.com somewhere, I'm pretty sure.  Or, just follow this
checklist:

[ ]	rm -r their home directory
[ ]	use vipw to delete their line in the password file (or change
	their password to *, or change their shell to /sbin/nologin)
[ ]	delete their mail spool
[ ]	kill any at or cron jobs belonging to them
[ ]	if they have their own group, remove it from /etc/group

> --------------------------------------------------------------------------
> Choose no life, no friends, no family. Choose a big computer, hard drives 
> the size of washing machines.  Choose old cars and electric coffee makers, 
> no sleep, high caffeine, a rented shoebox. Choose black jeans and matching 
> combat boots. Choose Sendmail and wondering why you're logged on on a 
> Sunday morning. Choose your future. Choose sysadmining.

I like your sig.


 Ben

"You have your mind on computers, it seems."




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95.970415135730.2513A-100000>