From owner-freebsd-questions@FreeBSD.ORG Fri Apr 13 14:55:29 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CC62816A400 for ; Fri, 13 Apr 2007 14:55:29 +0000 (UTC) (envelope-from gandalf@designaproduct.biz) Received: from designaproduct.biz (135-shost.hostoffice.hu [195.228.74.135]) by mx1.freebsd.org (Postfix) with ESMTP id 900FC13C45B for ; Fri, 13 Apr 2007 14:55:29 +0000 (UTC) (envelope-from gandalf@designaproduct.biz) Received: from [172.16.0.43] (localhost [127.0.0.1]) by designaproduct.biz (Postfix) with ESMTP id 7EAD21DD428 for ; Fri, 13 Apr 2007 10:48:12 -0400 (EDT) Message-ID: <461F99DF.7020202@designaproduct.biz> Date: Fri, 13 Apr 2007 16:55:27 +0200 From: Laszlo Nagy User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Subject: Cannot delete user??? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Apr 2007 14:55:29 -0000 Hi, I cannot remove the user with 'miller'. pw says it does not exists. However, rmuser says that it does exist, but it cannot delete it (I get a "no such file or directory" message). I also tried to re-add this user, but it also fails. (I have deleted 'miller' from /etc/passwd, but it is no use...) Please see below. How can I remove this user? Thanks, Laszlo gandalf@something.com~#pw userdel miller pw: user 'miller' does not exist: No such file or directory gandalf@something.com~#rmuser miller Matching password entry: miller:*:1038:1003::0:0:Thomas Miller:/home/miller:/bin/csh Is this the entry you wish to remove? y Remove user's home directory (/home/miller)? y Removing user (miller): home passwdpw: user 'miller' does not exist: No such file or directory . gandalf@something.com~#adduser Username: miller Full name: Thomas Miller Uid (Leave empty for default): Login group [miller]: users Login group is users. Invite miller into other groups? []: Login class [default]: Shell (sh csh tcsh scponly nologin) [sh]: csh Home directory [/home/miller]: Use password-based authentication? [yes]: Use an empty password? (yes/no) [no]: Use a random password? (yes/no) [no]: Enter password: Enter password again: Lock out the account after creation? [no]: Username : miller Password : ***** Full Name : Thomas Miller Uid : 1041 Class : Groups : users Home : /home/miller Shell : /bin/csh Locked : no OK? (yes/no): yes pw: login name `miller' already exists adduser: ERROR: There was an error adding user (miller). Add another user? (yes/no):