authuserdb: Try using a separate get-token script.
[hcoop/debian/courier-authlib.git] / authpasswd.1
CommitLineData
64ff59ba 1.\" <!-- $Id: authpasswd.sgml,v 1.5 2007/10/07 18:33:22 mrsam Exp $ -->
d9898ee8 2.\" <!-- Copyright 2004 Double Precision, Inc. See COPYING for -->
3.\" <!-- distribution information. -->
4.\" Title: authpasswd
5.\" Author:
64ff59ba 6.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
7.\" Date: 10/07/2007
d9898ee8 8.\" Manual: Double Precision, Inc.
9.\" Source: Double Precision, Inc.
10.\"
64ff59ba 11.TH "AUTHPASSWD" "1" "10/07/2007" "Double Precision, Inc." "Double Precision, Inc."
d9898ee8 12.\" disable hyphenation
13.nh
14.\" disable justification (adjust text to left margin only)
15.ad l
16.SH "NAME"
64ff59ba 17authpasswd - Generate login passwords
d9898ee8 18.SH "SYNOPSIS"
19.HP 11
20\fBauthpasswd\fR [method]
21.SH "DESCRIPTION"
22.PP
23
24\fBauthpasswd\fR
64ff59ba 25is 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 26\fBauthpasswd\fR
64ff59ba 27issues a password prompt\. Enter the same password twice (for verification purposes)\.
d9898ee8 28\fBauthpasswd\fR
64ff59ba 29computes 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
d9898ee8 30authmysql,
31authpgsql, or
32authldap
64ff59ba 33module\.
d9898ee8 34.PP
35
36\fImethod\fR
37may be set to one of the following literals:
38.PP
39crypt
40.RS 4
41Use the traditional
64ff59ba 42DES\-based encrypted password\.
d9898ee8 43.RE
44.PP
45md5
46.RS 4
64ff59ba 47Compute a base64\-encoded
d9898ee8 48MD5
64ff59ba 49password hash\.
50.RE
51.PP
52md5raw
53.RS 4
54Compute a hexadecimal\-encoded
55MD5
56password hash\.
d9898ee8 57.RE
58.PP
59sha1
60.RS 4
61Compute a
62SHA1
64ff59ba 63password hash\.
d9898ee8 64.RE
65.PP
66sha256
67.RS 4
68Compute a
69SHA256
64ff59ba 70password hash\.
d9898ee8 71.RE
72.PP
73If not specified,
74\fImethod\fR
75defaults to the modified\-MD5
64ff59ba 76password encryption algorithm that\'s used in Linux (note that this is different from the
d9898ee8 77\(lqmd5\(rq
64ff59ba 78password hash method)\.