Scroll to navigation

AUTHPASSWD(1) Double Precision, Inc. AUTHPASSWD(1)

NAME

authpasswd - Generate login passwords

SYNOPSIS

authpasswd [method]

DESCRIPTION

authpasswd is a helper utility that generates encrypted passwords for the Courier authentication library. The Courier authentication library is capable of using several different encryption methods for storing passwords. authpasswd issues a password prompt. Enter the same password twice (for verification purposes). authpasswd computes and prints the encrypted password. The encrypted password can be inserted verbatim into the appropriate account record that's processed by the authentication library's authmysql, authpgsql, authsqlite, or authldap module.

method may be set to one of the following literals:

crypt

Use the traditionalDES-based encrypted password.

md5

Compute a base64-encodedMD5password hash.

md5raw

Compute a hexadecimal-encodedMD5password hash.

sha1

Compute aSHA1password hash.

ssha

Compute a saltedSHA1password hash.

sha256

Compute aSHA256password hash.

If not specified,method defaults to the modified-MD5 password encryption algorithm that's used in Linux (note that this is different from the “md5” password hash method).

10/28/2020 Double Precision, Inc.