Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Oct 2005 15:30:12 +0200
From:      Olaf Greve <o.greve@axis.nl>
To:        Erik Norgaard <norgaard@math.ku.dk>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Weird SSH problem... Any ideas?!?
Message-ID:  <43579BE4.90305@axis.nl>
In-Reply-To: <Pine.LNX.4.64.0510201456310.20014@shannon.math.ku.dk>
References:  <435767E5.7020002@axis.nl>	<Pine.LNX.4.64.0510201218070.18028@shannon.math.ku.dk>	<43578CD9.9020309@axis.nl> <Pine.LNX.4.64.0510201456310.20014@shannon.math.ku.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43579BE4.90305>