master.passwd out of sync

Albert Shih Albert.Shih at
Tue Sep 3 08:56:19 UTC 2019

Hi everyone,

I try to understand how the /etc/pwd.db and /etc/spwd.db are updated with /usr/sbin/pwd_mkdb.

Anyone known what going to update those file ?

The reason is I try to create a account with pw and sometime I got the

  pw: user '*******' disappeared during update

so I just need to do a

    /usr/sbin/pwd_mkdb -p /etc/master.passwd

and everything work fine.

But that's not seem to be normal. So I try to find if they are some cron to
do that and didn't find anything.


Albert SHIH
Observatoire de Paris
xmpp: jas at
Heure local/Local time:
Tue 03 Sep 2019 10:51:35 AM CEST

More information about the freebsd-questions mailing list