10

I did a upgrade to FreeBSD 9 a few weeks ago and just started using it, and when I try and create a new user, I get the follow:

pw: user 'todd' disappeared during update adduser: ERROR: There was an error adding user (todd). 

I first noticed this issue when trying to install postfix and got a similar error.

Anyone know what this is or how to fix it without a complete re-install?

Some people have suggested shutting down the nscd daemon, but that doesn't fix the problem.

1 Answer 1

26

Did you try to regenerate your password database with vipw? Some people reported this error, when /etc/passwd and /etc/master.passwd got out of sync

2
  • This fixed the error when I was upgrading from 10.3 to 11, during the pkg update step to rebuild all installed ports. Commented Oct 15, 2017 at 18:50
  • 8
    /usr/sbin/pwd_mkdb -p /etc/master.passwd Commented May 6, 2018 at 13:16

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.