OxideBSD
PWD_MKDB(8) System Manager's Manual PWD_MKDB(8)

pwd_mkdb — install the account database

pwd_mkdb [-Cp] [-d directory] [-u user] file

The pwd_mkdb utility checks file, a new account database in the master.passwd format described in passwd(5), and installs it as /etc/master.passwd with mode 0600. With -p, it also generates the public /etc/passwd, in which every password is replaced by ‘*’ and the class, change and expire fields are left out.

Unlike the other BSDs' pwd_mkdb, it writes no hashed database files: the C library reads the text files directly.

The options are as follows:

Only check file; install nothing.
directory
Install into directory instead of /etc.
Generate passwd as well.
user
Accepted for compatibility; the whole database is rebuilt.

/etc/master.passwd
the account database
/etc/passwd
its public form

The pwd_mkdb utility exits 0 on success, and >0 if an error occurs.

passwd(1), passwd(5)

A pwd_mkdb utility appeared in 4.3BSD-Reno. This implementation was written for OxideBSD.

September 26, 2026 OxideBSD