From owner-freebsd-hackers Wed Jul 3 14:05:09 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA25405 for hackers-outgoing; Wed, 3 Jul 1996 14:05:09 -0700 (PDT) Received: from orion.webspan.net (root@orion.webspan.net [206.154.70.41]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id OAA25392; Wed, 3 Jul 1996 14:05:05 -0700 (PDT) Received: from orion.webspan.net (scanner@orion.webspan.net [206.154.70.41]) by orion.webspan.net (8.7.5/8.6.12) with SMTP id RAA16164; Wed, 3 Jul 1996 17:04:58 -0400 (EDT) Date: Wed, 3 Jul 1996 17:04:58 -0400 (EDT) From: Scanner To: Gary Palmer cc: Jaye Mathisen , hackers@FreeBSD.ORG Subject: Re: Is there a real live actual working deluser script? In-Reply-To: <11006.836427463@palmer.demon.co.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Wed, 3 Jul 1996, Gary Palmer wrote: > Scanner wrote in message ID > : > > Here is one that is like 2 lines mine and the rest gary's :) > > Mine started out simeple as 4 lines. But under use of those less unix > > knowledable it went haywire. So it was re-written all but 2 lines. > > It works pretty good. Hope it does the job for you. > > You might have told people that it only works if the user is in group > 1001 :-) I put that in to stop you deleting yourself Chris :-) > This bit of code is possibly only applicable to people like WebSpan... My fudge up. Again im my drunken/lackofsleep/brain dead state i failed to mention that. Oh by the way everyone it only works of your users are in a group called 'users', and that group has GID 1001. Unless you can modify the script to suit your needs. -- ===================================| Webspan Inc., ISP Division. FreeBSD 2.1.0 is available now! | Phone: 908-367-8030 ext. 126 -----------------------------------| 500 West Kennedy Blvd., Lakewood, NJ-08701 Turning PCs into Workstations | E-Mail: scanner@webspan.net http://www.freebsd.org | SysAdmin / Network Engineer / Security ===================================| Member BSDNET team! http://www.bsdnet.org