macOS / binaries /

pwd_mkdb

/usr/sbin/pwd_mkdb
Generate the password databases

The pwd_mkdb utility creates db style secure and insecure databases for the specified file. These databases are then installed into /etc/spwd.db and /etc/pwd.db respectively.

source: man