From owner-freebsd-questions@FreeBSD.ORG Thu May 13 11:31:25 2004 Return-Path: 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 51A9D16A4CE for ; Thu, 13 May 2004 11:31:25 -0700 (PDT) Received: from smtp.owt.com (smtp.owt.com [204.118.6.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C13243D41 for ; Thu, 13 May 2004 11:31:24 -0700 (PDT) (envelope-from kstewart@owt.com) Received: from [207.41.94.233] (owt-207-41-94-233.owt.com [207.41.94.233]) by smtp.owt.com (8.12.8/8.12.8) with ESMTP id i4DIV9bI032343; Thu, 13 May 2004 11:31:11 -0700 From: Kent Stewart To: freebsd-questions@freebsd.org Date: Thu, 13 May 2004 11:31:17 -0700 User-Agent: KMail/1.6.2 References: <4d01124d0e90.4d0e904d0112@osu.edu> In-Reply-To: <4d01124d0e90.4d0e904d0112@osu.edu> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200405131131.17085.kstewart@owt.com> cc: OLAF STEIN Subject: Re: remove users from system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 May 2004 18:31:25 -0000 On Thursday 13 May 2004 11:14 am, OLAF STEIN wrote: > hi everybody, > > i recently switched from linux to freebsd, so this question might > sound a little stupid > > the problem > i removed 2 users from my system by deleting their entries in > /etc/passwd and /etc/group (they had their own group and where in no > other groups) > > the users are still able to login after i deleted them > the rmuser command now does not remove them anymore because it cannot > find their entries in /etc/passwd, cause as mentioned i deleted them > from their > > the handbook lists all actions that are taken, when the rmuser > command is executed and i did all actions manually except the > deletion of the home directories of those users, because i want to > keep them > > how can i remove those users completely? > and is there something like a /etc/shadow file? > Use vipw to do the delete. You deleted the text in the shadow text file and left /etc/master.passwd with the previous working version. You can force the update of master.passwd but I think you should get used to using vipw. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html