Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jul 1996 15:23:57 -0400
From:      Joel Ray Holveck <joelh@gnu.ai.mit.edu>
To:        fhackers@jraynard.demon.co.uk
Cc:        scanner@webspan.net, mrcpu@cdsnet.net, hackers@freebsd.org
Subject:   Re: Is there a real live actual working deluser script?
Message-ID:  <199607041923.PAA16322@kropotkin.gnu.ai.mit.edu>
In-Reply-To: <199607040041.AAA05227@jraynard.demon.co.uk> (message from James Raynard on Thu, 4 Jul 1996 00:41:51 GMT)

next in thread | previous in thread | raw e-mail | index | archive | help

 >> Here is one that is like 2 lines mine and the rest gary's :)
 > Not bad! (maybe a crontab -u $LUSER -r in there somewhere would be
 > a good idea).
 > For bonus points, how about removing any files owned by them in
 > /tmp and /var/tmp and killing any jobs they have left running -
 > that should get rid of most of the "little surprises" that people
 > occasionally leave behind...

If we really want to get fancy, also kill their mailfile, and add
something to /etc/aliases to send their mail through a vacation-style
script, and then at now+1 week grep -v that line out of existance, as
well as sed -e s/${LUSER}// them out of any mailing lists they may be
on.

-- 
http://www.wp.com/piquan --- Joel Ray Holveck --- joelh@gnu.ai.mit.edu

Fourth law of computing:
  Anything that can go wro
.signature: segmentation violation -- core dumped



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607041923.PAA16322>