From owner-freebsd-questions@FreeBSD.ORG Wed Mar 1 21:30:06 2006 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 CD06A16A422 for ; Wed, 1 Mar 2006 21:30:06 +0000 (GMT) (envelope-from ggroth99@hotmail.com) Received: from hotmail.com (bay14-f22.bay14.hotmail.com [64.4.49.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A92A43D53 for ; Wed, 1 Mar 2006 21:30:06 +0000 (GMT) (envelope-from ggroth99@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 1 Mar 2006 13:30:05 -0800 Message-ID: Received: from 66.238.149.124 by by14fd.bay14.hotmail.msn.com with HTTP; Wed, 01 Mar 2006 21:30:02 GMT X-Originating-IP: [66.238.149.124] X-Originating-Email: [ggroth99@hotmail.com] X-Sender: ggroth99@hotmail.com From: "Greg Groth" To: freebsd-questions@freebsd.org Date: Wed, 01 Mar 2006 15:30:02 -0600 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 01 Mar 2006 21:30:05.0502 (UTC) FILETIME=[4E8EC5E0:01C63D77] X-Mailman-Approved-At: Wed, 01 Mar 2006 22:56:01 +0000 Subject: password database error? 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: Wed, 01 Mar 2006 21:30:06 -0000 I rebuilt a box recently, and used pwd_mkdb to rebuild the databases using a backup of master.passwd. Along with having problems with getting saslauthd working, I seem to have stumbled on another problem that might be related. Today we had an employee quit, and I had to delete her account on the mail server. I logged onto the system, and did the following: ns1# rmuser Please enter one or more usernames: jdoe Matching password entry: jdoe:*:1010:500::0:0:John Doe:/home/jdoe:/bin/sh Is this the entry you wish to remove? y Remove user's home directory (/home/jdoe)? y Removing user (jdoe): home passwdpw: user 'jdoe' does not exist: No such file or directory . Logging in as jdoe does work, and has worked since I rebuilt the databases. There is a /home/jdoe directory. I checked, and there is a line item in master.passwd for jdoe. I ran pwd_mkdb again, but still cannot delete this user. I'm thinking that if rmuser can't verify a user, it's probably the same reason that salauthd cannot as well. Any ideas on what I have missed? Greg Groth _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/