Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Unable to login after upgrade



On Wed, Oct 29, 2008 at 12:42:21PM +0100, Claus Andersen wrote:
>>> # ls -l /usr/bin/su
>>> -r-sr-xr-x  1 0  wheel  18971 Oct 28 01:48 /usr/bin/su
>>
>> You've somehow botched the upgrade/merge of the master.passwd file, or
>> maybe of the [s]pwd.db database files that are generated from it.
>
> Sounds reasonable. How do I fix that? rm /etc/passwd; rm  
> /etc/master.passwd - create new /etc/passwd and then mkdb_passwd?

You need to fix (possibly with a hammer by recreating, if you can't
spot the specific problem) the master.passwd file (not passwd) then
mkdb it to generate the others.

--
Dan

Attachment: pgpofkrAAxFD8.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index