1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML
><HEAD
><link rel='stylesheet' type='text/css' href='manpage.css'>
<!-- $Id: authpasswd.sgml,v 1.1 2005/07/13 00:54:22 mrsam Exp $ -->
<!-- Copyright 2004 Double Precision, Inc. See COPYING for -->
<!-- distribution information. -->
<meta name="MSSmartTagsPreventParsing" content="TRUE">
<link rel="icon" href="icon.gif" type="image/gif" />
<TITLE
>authpasswd</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"></HEAD
><BODY
CLASS="REFENTRY"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><H1
><A
NAME="AUTHPASSWD"
></A
>authpasswd</H1
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN10"
></A
><H2
>Name</H2
>authpasswd -- Generate login passwords</DIV
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN13"
></A
><H2
>Synopsis</H2
><P
><B
CLASS="COMMAND"
>authpasswd</B
> [method]</P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN17"
></A
><H2
>DESCRIPTION</H2
><P
><B
CLASS="COMMAND"
>authpasswd</B
> is a helper utility that generated encrypted
passwords for the
Courier authentication library.
The Courier authentication library is capable of using several different
encryption methods for storing passwords.
<B
CLASS="COMMAND"
>authpasswd</B
> issues a password prompt.
Enter the same password twice (for verification purposes).
<B
CLASS="COMMAND"
>authpasswd</B
> 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
<TT
CLASS="LITERAL"
>authmysql</TT
>,
<TT
CLASS="LITERAL"
>authpgsql</TT
>,
or <TT
CLASS="LITERAL"
>authldap</TT
> module.</P
><P
><VAR
CLASS="REPLACEABLE"
>method</VAR
> may be set to one of the following
literals:</P
><P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
>crypt</DT
><DD
><P
>Use the traditional <ACRONYM
CLASS="ACRONYM"
>DES</ACRONYM
>-based encrypted password.</P
></DD
><DT
>md5</DT
><DD
><P
>Compute an <ACRONYM
CLASS="ACRONYM"
>MD5</ACRONYM
> password hash.</P
></DD
><DT
>sha1</DT
><DD
><P
>Compute a <ACRONYM
CLASS="ACRONYM"
>SHA1</ACRONYM
> password hash.</P
></DD
><DT
>sha256</DT
><DD
><P
>Compute a <ACRONYM
CLASS="ACRONYM"
>SHA256</ACRONYM
> password hash.</P
></DD
></DL
></DIV
><P
>If not specified,
<VAR
CLASS="REPLACEABLE"
>method</VAR
> defaults to the
modified-<ACRONYM
CLASS="ACRONYM"
>MD5</ACRONYM
> password encryption algorithm that's used
in Linux (note that this is different from the <SPAN
CLASS="QUOTE"
>"md5"</SPAN
> password
hash method).</P
></DIV
></BODY
></HTML
>
|