From owner-freebsd-questions@FreeBSD.ORG Fri Jan 17 19:59:36 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D8E1EC71 for ; Fri, 17 Jan 2014 19:59:36 +0000 (UTC) Received: from moku60.aloha50.net (moku60.aloha50.net [66.180.132.237]) by mx1.freebsd.org (Postfix) with ESMTP id AAEFF1514 for ; Fri, 17 Jan 2014 19:59:36 +0000 (UTC) Received: from mohawk7.intra.net (unknown [66.180.149.18]) by moku60.aloha50.net (Postfix) with ESMTP id 3079D1704A; Fri, 17 Jan 2014 09:59:35 -1000 (HST) Message-ID: <52D98BA6.5000100@hdk5.net> Date: Fri, 17 Jan 2014 09:59:34 -1000 From: Al Plant User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071128 FreeBSD/i386 SeaMonkey/1.1.7 MIME-Version: 1.0 To: Polytropon Subject: Re: Removing user from lan. Solved! References: <52D89B2C.3080801@hdk5.net> <20140117205006.768a233e.freebsd@edvax.de> In-Reply-To: <20140117205006.768a233e.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: noc@hdk5.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jan 2014 19:59:36 -0000 Polytropon wrote: > On Thu, 16 Jan 2014 16:53:32 -1000, Al Plant wrote: >> Aloha, >> >> Could anyone please send me to a how to on removing an unwanted user >> from the lan on FreeBSD 9 and 8. >> I tried to remove the adduser file and name and I still cant use the >> name that was there before. > > Deleting the home directory is not sufficient, as the account > will still be active in files like /etc/passwd and the user > database. So while an interactive login might be inhibited > (due to a non-extisting home directory or login shell), other > kinds of access, like FTP and maybe even scp, may still be > possible. That's why the account has to be deleted entirely. > The "rmuser" and "pw userdel" commands can do this. They also > make sure the user is removed from the (generated) binary > databases. > > > >> I read the man page and cant see from that how to get rid off all the >> parts of the old account. > > You should have a look at "man rmuser" and "man pw". > > ############# Thanks, Olivier and Poly.... I finally remembered the command when you mentioned. You are great at helping fix mind blocks. I just used "rmuser" and the problem is gone. :) ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 7.2 - 8.0 - 9* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol