From owner-freebsd-questions@FreeBSD.ORG Wed May 9 13:38:08 2012 Return-Path: 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 309C11065672 for ; Wed, 9 May 2012 13:38:08 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id DED108FC0C for ; Wed, 9 May 2012 13:38:07 +0000 (UTC) Received: from r56.edvax.de (port-92-195-20-192.dynamic.qsc.de [92.195.20.192]) by mx01.qsc.de (Postfix) with ESMTP id 55C333CF69; Wed, 9 May 2012 15:38:06 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q49Dc5e2001884; Wed, 9 May 2012 15:38:05 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 9 May 2012 15:38:05 +0200 From: Polytropon To: n dhert Message-Id: <20120509153805.5c364b3c.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: User can't login but /etc/(master.)passwd OK X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 May 2012 13:38:08 -0000 On Wed, 9 May 2012 14:04:35 +0200, n dhert wrote: > the entries for 'THATUSER in /etc/passwd and /etc/master.passwd are still > the same as from a backup > of 14 days ago (no change in encrypted passwd) > The /etc/pwd.db and /etc/spwd.db are binary files so I can't check.. You can easily rebuild them from the text files using pwd_mkdb. Is /ect/group also okay? > The home-directory of THATUSER is still present and contents looks normal .. Does the home directory itself (the "path leading to it") also look correct (owner & permissions)? > All users have quota, but for this particular user: > # quota -v THATUSER > responds > quota: THATUSER: unknown user > # edquota -u THATUSER > edquota: THATUSER: no such user > # repquota /home does not show that user anymore Maybe a side effect? Can you provide more error messages maybe? Does /var/log/messages or /var/log/auth.log show something relevant when the user in question attempts an login? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...