| PWD_MKDB(8) | System Manager's Manual | PWD_MKDB(8) |
NAME
pwd_mkdb — install
the account database
SYNOPSIS
pwd_mkdb |
[-Cp] [-d
directory] [-u
user] file |
DESCRIPTION
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:
FILES
- /etc/master.passwd
- the account database
- /etc/passwd
- its public form
EXIT STATUS
The pwd_mkdb utility exits 0 on
success, and >0 if an error occurs.
SEE ALSO
HISTORY
A pwd_mkdb utility appeared in
4.3BSD-Reno. This implementation was written for
OxideBSD.
| September 26, 2026 | OxideBSD |