From owner-freebsd-questions@FreeBSD.ORG Sat Nov 26 22:31:31 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 D358A16A41F for ; Sat, 26 Nov 2005 22:31:31 +0000 (GMT) (envelope-from fasterdisco@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id F286C43D5E for ; Sat, 26 Nov 2005 22:31:30 +0000 (GMT) (envelope-from fasterdisco@gmail.com) Received: by zproxy.gmail.com with SMTP id z31so723377nzd for ; Sat, 26 Nov 2005 14:31:30 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=NqIMRM+vZvk80V43BMln/2KTdC6+ZdRpR3zkAENCg/DL8nLt7w7+Q6LKS9J8Df7ZGz746zsI0+/W4Lt3dNYcHnQLlOHIdQ3V+CEebvF4kkYRqWXkDlZWkPX4+wK3pItUCAGOT3ONhhEaqalgqUe23w5Bli5o4lqSDGDoMux2LH0= Received: by 10.65.206.12 with SMTP id i12mr9692275qbq; Sat, 26 Nov 2005 14:31:30 -0800 (PST) Received: by 10.65.43.6 with HTTP; Sat, 26 Nov 2005 14:31:30 -0800 (PST) Message-ID: Date: Sat, 26 Nov 2005 17:31:30 -0500 From: "matt ." To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Fun with passwd files 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: Sat, 26 Nov 2005 22:31:31 -0000 Hey folks, I wonder if anybody can help me out here... FreeBSD 6.0-RELEASE I'm doing a user migration. I'm manually populating the /etc/master.passwd with user entries from the old box. I run pwd_mkdb on the master.passwdfile. This was working dandy until a few moments ago. I added a user, then attempted to delete the user using "pw userdel " and I get this: host# pw userdel jschneider pw: user 'jschneider' does not exist: No such file or directory This was weird. I can usermod, usershow and finger "jschneider" just fine. When I change jschneider's password using passwd, magically I am now able t= o delete him using "pw userdel". I found out jschneider was being added to /etc/master.passwd but not into /etc/passwd. However previous users I had manually added using the same method did end up in the /etc/passwd file. So I'm confused. Now it seems any user I manually add to master.passwd and run pwd_mkdb on, doesn't get populated into /etc/passwd. Any clue what's going on here? kind regards, matt