Upgrading 5.2.1 to 5.3R2

Nelis Lamprecht nlamprecht at gmail.com
Wed Nov 3 01:25:28 PST 2004


On Tue, 02 Nov 2004 21:01:35 -0500, Gerard Samuel
<fbsd-questions at trini0.org> wrote:
> Ok, so I upgraded, ran mergemaster, and merged /etc/group (and
> /etc/master.passwd I think) via mergemaster.
> I merged those files to retain my non root user account.
> I rebooted, and I haven't been able to log into my non root account.
> I tried to readd the account via adduser, but it says that the user
> already exists.
> So I tried rmuser, and it says that the user doesn't exist.
> So I manually removed the account name from /etc/group,
> /etc/master.passwd, /etc/passwd,
> and tried to add the user, via adduser.
> When it tries to add the user, it fails (dont remember the message right
> now).
> Anyone has any suggestions on how I can get the old user account back??
> N.B. I did back up /etc before mergemaster...
> Thanks

What is the result of pwd_mkdb -C /etc/master.passwd ? Perhaps copy
your backup copy of master.passwd and then regenerate your passwd file
via pwd_mkdb -p
See pwd_mkdb(8) for more info

Nelis


More information about the freebsd-questions mailing list