A "passwd" table stores information regarding local users.
The information is encoded using the traditional
format and allows the sharing of a user database across different software
supporting this format.
The table is used by
when authenticating a user or when user information such as user-id or
home directory is required for a delivery.
A "passwd" table consists of a flat file containing the user entries, each
one on a line by itself, with fields separated by a colon:
Besides the first username field and depending on the table type, fields are
optional and might be empty.
The gecos and the shell field are not used and ignored.
If the table is used for authentication, the second field should contain a
password encrypted using the
Such passwords can be generated using the
If the table is used for user information, user-id, group-id, and home
directory fields are required.
In favor of supporting shared authentication with the Dovecot Passwd-file
format, extra fields after the last shell field are allowed (and ignored).