PASSWD.CONF(5)            OpenBSD Programmer's Manual           PASSWD.CONF(5)

NAME
     passwd.conf - format of the password configuration file

DESCRIPTION
     The /etc/passwd.conf file, consisting of ``stanzas'', describes the con-
     figuration of the password cipher used to encrypt local or YP passwords.

     There are default, user and group specific stanzas. If no user or group
     stanza to a specific option is available, the default stanza is used.

     To differentiate between user and group stanzas, groups are prefixed with
     a single dot (`.').

     Some of the fields and their possible values that can appear in this file
     are:

           localcipher  The cipher to use for local passwords. Possible values
                        are: ``old'', ``newsalt,<rounds>'', ``md5'', and
                        ``blowfish,<rounds>''. For ``newsalt'' the value of
                        rounds is a 24-bit integer with a minmum of 7250
                        rounds.  For ``blowfish'' the value can be between 4
                        and 31. It specifies the base 2 logarithm of the num-
                        ber of rounds.

           ypcipher     The cipher to use for YP passwords. The possible val-
                        ues are the same as for localcipher.

     To retrieve information from this file use pw_getconf(3).

EXAMPLE
     Use blowfish as the local cipher; add some more rounds for root and wheel
     members. The old Unix crypt is used as YP cipher:

      default:
           localcipher = blowfish,4
           ypcipher = old

      root:
           localcipher = blowfish,7

      .wheel:
           localcipher = blowfish,5

SEE ALSO
     passwd(1),  pw_getconf(3),  passwd(5)


OpenBSD 2.6                    February 24, 1997                             1
