From owner-freebsd-hackers Thu Jul 4 12:24:17 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA14005 for hackers-outgoing; Thu, 4 Jul 1996 12:24:17 -0700 (PDT) Received: from kropotkin.gnu.ai.mit.edu (kropotkin.gnu.ai.mit.edu [128.52.46.40]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id MAA13996 for ; Thu, 4 Jul 1996 12:24:15 -0700 (PDT) Received: by kropotkin.gnu.ai.mit.edu (8.6.12/8.6.12GNU) id PAA16322; Thu, 4 Jul 1996 15:23:57 -0400 Date: Thu, 4 Jul 1996 15:23:57 -0400 Message-Id: <199607041923.PAA16322@kropotkin.gnu.ai.mit.edu> To: fhackers@jraynard.demon.co.uk CC: scanner@webspan.net, mrcpu@cdsnet.net, hackers@freebsd.org In-reply-to: <199607040041.AAA05227@jraynard.demon.co.uk> (message from James Raynard on Thu, 4 Jul 1996 00:41:51 GMT) Subject: Re: Is there a real live actual working deluser script? From: Joel Ray Holveck Reply-to: joelh@gnu.ai.mit.edu Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >> 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