From owner-freebsd-questions@FreeBSD.ORG Thu Oct 20 13:30:25 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 2E94416A421 for ; Thu, 20 Oct 2005 13:30:25 +0000 (GMT) (envelope-from o.greve@axis.nl) Received: from yggdrasil.interstroom.nl (yggdrasil.interstroom.nl [80.85.129.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02BA543D66 for ; Thu, 20 Oct 2005 13:30:23 +0000 (GMT) (envelope-from o.greve@axis.nl) Received: from ip127-182.introweb.nl ([80.65.127.182] helo=[192.168.1.42]) by yggdrasil with asmtp (Exim 3.35 #1 (Debian)) id 1ESaUt-0005lL-00; Thu, 20 Oct 2005 15:30:19 +0200 Message-ID: <43579BE4.90305@axis.nl> Date: Thu, 20 Oct 2005 15:30:12 +0200 From: Olaf Greve User-Agent: Mozilla Thunderbird 1.0.7-1.4.1.centos4 (X11/20051007) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Erik Norgaard References: <435767E5.7020002@axis.nl> <43578CD9.9020309@axis.nl> In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner-Information: Interstroom virusscan, please e-mail helpdesk@interstroom.nl for more information X-MailScanner-SpamCheck: Cc: freebsd-questions Subject: Re: Weird SSH problem... Any ideas?!? 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: Thu, 20 Oct 2005 13:30:25 -0000 Hi, > Well, it all seems to be a question of granting users access to the > right file. Have you checked permissions on /etc/passwd and /etc/pwd.db ? These are both 644, owned by root:wheel. > These should be world readable while /etc/master.passwd and /etc/spwd.db > should not. These are both 600, owned by root:wheel. Sounds like both have their permissions set-up just fine. Nonetheless I suspect something went wrong when migrating these files from my previous FreeBSD 5.2.1-release i386 machine, to my new FreeBSD 5.4-release amd64 machine... Basically, I just copied those four files (plus the group file) across, and then rebuild the user's directory of the user that was having the login issues... > Non privileged processes access the former to convert UID to user name. That certainly makes sense. Hmm, I wonder what could be amiss?????? Cheers! Olafo