Commit | Line | Data |
---|---|---|
b0322a85 | 1 | '\" t |
8d138742 | 2 | .\" <!-- Copyright 2004-2008 Double Precision, Inc. See COPYING for --> |
d9898ee8 | 3 | .\" <!-- distribution information. --> |
4 | .\" Title: authpasswd | |
b0322a85 CE |
5 | .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] |
6 | .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> | |
d50284c4 | 7 | .\" Date: 06/20/2015 |
d9898ee8 | 8 | .\" Manual: Double Precision, Inc. |
9 | .\" Source: Double Precision, Inc. | |
b0322a85 | 10 | .\" Language: English |
d9898ee8 | 11 | .\" |
d50284c4 | 12 | .TH "AUTHPASSWD" "1" "06/20/2015" "Double Precision, Inc." "Double Precision, Inc." |
b0322a85 CE |
13 | .\" ----------------------------------------------------------------- |
14 | .\" * Define some portability stuff | |
15 | .\" ----------------------------------------------------------------- | |
16 | .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
17 | .\" http://bugs.debian.org/507673 | |
18 | .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html | |
19 | .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
20 | .ie \n(.g .ds Aq \(aq | |
21 | .el .ds Aq ' | |
22 | .\" ----------------------------------------------------------------- | |
23 | .\" * set default formatting | |
24 | .\" ----------------------------------------------------------------- | |
d9898ee8 | 25 | .\" disable hyphenation |
26 | .nh | |
27 | .\" disable justification (adjust text to left margin only) | |
28 | .ad l | |
b0322a85 CE |
29 | .\" ----------------------------------------------------------------- |
30 | .\" * MAIN CONTENT STARTS HERE * | |
31 | .\" ----------------------------------------------------------------- | |
d9898ee8 | 32 | .SH "NAME" |
b0322a85 | 33 | authpasswd \- Generate login passwords |
d9898ee8 | 34 | .SH "SYNOPSIS" |
b0322a85 | 35 | .HP \w'\fBauthpasswd\fR\ 'u |
d9898ee8 | 36 | \fBauthpasswd\fR [method] |
37 | .SH "DESCRIPTION" | |
38 | .PP | |
d9898ee8 | 39 | \fBauthpasswd\fR |
b0322a85 | 40 | 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\&. |
d9898ee8 | 41 | \fBauthpasswd\fR |
b0322a85 | 42 | issues a password prompt\&. Enter the same password twice (for verification purposes)\&. |
d9898ee8 | 43 | \fBauthpasswd\fR |
b0322a85 | 44 | computes and prints the encrypted password\&. The encrypted password can be inserted verbatim into the appropriate account record that\*(Aqs processed by the authentication library\*(Aqs |
d9898ee8 | 45 | authmysql, |
b0322a85 CE |
46 | authpgsql, |
47 | authsqlite, or | |
d9898ee8 | 48 | authldap |
b0322a85 | 49 | module\&. |
d9898ee8 | 50 | .PP |
d9898ee8 | 51 | \fImethod\fR |
52 | may be set to one of the following literals: | |
53 | .PP | |
54 | crypt | |
55 | .RS 4 | |
56 | Use the traditional | |
b0322a85 | 57 | DES\-based encrypted password\&. |
d9898ee8 | 58 | .RE |
59 | .PP | |
60 | md5 | |
61 | .RS 4 | |
dd184caf | 62 | Compute a base64\-encoded |
d9898ee8 | 63 | MD5 |
b0322a85 | 64 | password hash\&. |
dd184caf | 65 | .RE |
66 | .PP | |
67 | md5raw | |
68 | .RS 4 | |
69 | Compute a hexadecimal\-encoded | |
70 | MD5 | |
b0322a85 | 71 | password hash\&. |
d9898ee8 | 72 | .RE |
73 | .PP | |
74 | sha1 | |
75 | .RS 4 | |
76 | Compute a | |
77 | SHA1 | |
b0322a85 | 78 | password hash\&. |
d9898ee8 | 79 | .RE |
80 | .PP | |
8d138742 CE |
81 | ssha |
82 | .RS 4 | |
83 | Compute a salted | |
84 | SHA1 | |
b0322a85 | 85 | password hash\&. |
8d138742 CE |
86 | .RE |
87 | .PP | |
d9898ee8 | 88 | sha256 |
89 | .RS 4 | |
90 | Compute a | |
91 | SHA256 | |
b0322a85 | 92 | password hash\&. |
d9898ee8 | 93 | .RE |
94 | .PP | |
95 | If not specified, | |
96 | \fImethod\fR | |
97 | defaults to the modified\-MD5 | |
b0322a85 | 98 | password encryption algorithm that\*(Aqs used in Linux (note that this is different from the |
d9898ee8 | 99 | \(lqmd5\(rq |
b0322a85 | 100 | password hash method)\&. |