hcoop release
[hcoop/debian/courier-authlib.git] / authpasswd.1
CommitLineData
b0322a85 1'\" t
8d138742 2.\" <!-- Copyright 2004-2008 Double Precision, Inc. See COPYING for -->
d9898ee8 3.\" <!-- distribution information. -->
4.\" Title: authpasswd
0e333c05
CE
5.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
6.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
7.\" Date: 09/08/2017
d9898ee8 8.\" Manual: Double Precision, Inc.
9.\" Source: Double Precision, Inc.
b0322a85 10.\" Language: English
d9898ee8 11.\"
0e333c05 12.TH "AUTHPASSWD" "1" "09/08/2017" "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 33authpasswd \- 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 40is 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 42issues a password prompt\&. Enter the same password twice (for verification purposes)\&.
d9898ee8 43\fBauthpasswd\fR
b0322a85 44computes 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 45authmysql,
b0322a85
CE
46authpgsql,
47authsqlite, or
d9898ee8 48authldap
b0322a85 49module\&.
d9898ee8 50.PP
d9898ee8 51\fImethod\fR
52may be set to one of the following literals:
53.PP
54crypt
55.RS 4
56Use the traditional
b0322a85 57DES\-based encrypted password\&.
d9898ee8 58.RE
59.PP
60md5
61.RS 4
dd184caf 62Compute a base64\-encoded
d9898ee8 63MD5
b0322a85 64password hash\&.
dd184caf 65.RE
66.PP
67md5raw
68.RS 4
69Compute a hexadecimal\-encoded
70MD5
b0322a85 71password hash\&.
d9898ee8 72.RE
73.PP
74sha1
75.RS 4
76Compute a
77SHA1
b0322a85 78password hash\&.
d9898ee8 79.RE
80.PP
8d138742
CE
81ssha
82.RS 4
83Compute a salted
84SHA1
b0322a85 85password hash\&.
8d138742
CE
86.RE
87.PP
d9898ee8 88sha256
89.RS 4
90Compute a
91SHA256
b0322a85 92password hash\&.
d9898ee8 93.RE
94.PP
95If not specified,
96\fImethod\fR
97defaults to the modified\-MD5
b0322a85 98password encryption algorithm that\*(Aqs used in Linux (note that this is different from the
d9898ee8 99\(lqmd5\(rq
b0322a85 100password hash method)\&.