Upgrading 5.2.1 to 5.3R2 (Maybe a problem adding a user) [SOLVED]

Gerard Samuel gsam at trini0.org
Tue Nov 2 21:54:20 PST 2004


Gerard Samuel wrote:

> Gerard Samuel 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).
>
>
> I tried adding another account on the box, and the Im getting the same 
> error...
> This time I got the error message from adduser
> ----
>
> OK? (yes/no): yes
> pw: user 'test' disappeared during update
> adduser: ERROR: There was an error adding user (test).
> Add another user? (yes/no): no
> ----
>
>> Anyone has any suggestions on how I can get the old user account back??
>> N.B. I did back up /etc before mergemaster...
>> Thanks 
>
Well I got it working again.  Im not sure what fixed it, but I believe 
running vipw fixed what was wrong with it...



More information about the freebsd-questions mailing list