From owner-freebsd-questions Tue Feb 4 15:38:28 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0CF0237B401 for ; Tue, 4 Feb 2003 15:38:27 -0800 (PST) Received: from smnolde.com (c-24-98-61-182.atl.client2.attbi.com [24.98.61.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DE0543E4A for ; Tue, 4 Feb 2003 15:38:26 -0800 (PST) (envelope-from scott@smnolde.com) Received: from [192.168.10.7] (helo=bsd.smnolde.com) by smnolde.com with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 3.36 #1) id 18gCe1-000F7Y-00; Tue, 04 Feb 2003 18:38:25 -0500 Received: from scott by bsd.smnolde.com with local (Exim 3.36 #1) id 18gCe0-000ELL-00; Tue, 04 Feb 2003 18:38:24 -0500 Date: Tue, 4 Feb 2003 18:38:24 -0500 From: "Scott M. Nolde" To: Jon Reynolds Cc: freebsd-questions@FreeBSD.ORG Subject: Re: removing all users Message-ID: <20030204233824.GR83557@smnolde.com> References: <1044401515.1511.83.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1044401515.1511.83.camel@localhost.localdomain> User-Agent: Mutt/1.4i X-GPG_Fingerprint: 0BD6 DDB4 2978 EB60 E0C8 33F2 BC34 9087 D869 AB48 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Jon Reynolds(jonr@destar.net)@2003.02.04 14:31:55 +0000: > Probably a stupid question but.... I have a lot of users on a freebsd > box and I want to remove them all at once. Is there any problem with > just issueing this command in the /home directory: 'rm -i *'. Or is > there a better way to do this? > > Thanks for any suggestions, > > Jon > > use pw(8): pw [-V etcdir] userdel [name|uid] [-n name] [-u uid] [-r] [-Y] -- Scott Nolde GPG Key 0xD869AB48 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message