Commit | Line | Data |
---|---|---|
d9898ee8 | 1 | <?xml version="1.0"?> |
dd184caf | 2 | <html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>authpasswd</title><link rel="stylesheet" href="style.css" type="text/css"/><meta name="generator" content="DocBook XSL Stylesheets V1.73.2"/><link rel="start" href="#authpasswd" title="authpasswd"/><link xmlns="" rel="stylesheet" type="text/css" href="manpage.css"/><meta xmlns="" name="MSSmartTagsPreventParsing" content="TRUE"/><link xmlns="" rel="icon" href="icon.gif" type="image/gif"/><!-- |
d9898ee8 | 3 | |
4 | Copyright 1998 - 2007 Double Precision, Inc. See COPYING for distribution | |
5 | information. | |
6 | ||
8d138742 | 7 | --></head><body><div class="refentry" lang="en" xml:lang="en"><a id="authpasswd" shape="rect"> </a><div class="titlepage"/><div class="refnamediv"><h2>Name</h2><p>authpasswd — Generate login passwords</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">authpasswd</code> [method]</p></div></div><div class="refsect1" lang="en" xml:lang="en"><a id="id333859" shape="rect"> </a><h2>DESCRIPTION</h2><p> |
dd184caf | 8 | <span class="command"><strong>authpasswd</strong></span> is a helper utility that generates encrypted |
d9898ee8 | 9 | passwords for the |
10 | Courier authentication library. | |
11 | The Courier authentication library is capable of using several different | |
12 | encryption methods for storing passwords. | |
dd184caf | 13 | <span class="command"><strong>authpasswd</strong></span> issues a password prompt. |
d9898ee8 | 14 | Enter the same password twice (for verification purposes). |
dd184caf | 15 | <span class="command"><strong>authpasswd</strong></span> computes and prints the encrypted password. |
d9898ee8 | 16 | The encrypted password can be inserted verbatim into the appropriate |
17 | account record that's processed by the authentication library's | |
18 | <code class="literal">authmysql</code>, | |
19 | <code class="literal">authpgsql</code>, | |
20 | or <code class="literal">authldap</code> module.</p><p> | |
21 | <em class="replaceable"><code>method</code></em> may be set to one of the following | |
22 | literals:</p><div class="variablelist"><dl><dt><span class="term">crypt</span></dt><dd><p> | |
23 | Use the traditional <acronym class="acronym">DES</acronym>-based encrypted password.</p></dd><dt><span class="term">md5</span></dt><dd><p> | |
dd184caf | 24 | Compute a base64-encoded <acronym class="acronym">MD5</acronym> password hash.</p></dd><dt><span class="term">md5raw</span></dt><dd><p> |
25 | Compute a hexadecimal-encoded <acronym class="acronym">MD5</acronym> password hash.</p></dd><dt><span class="term">sha1</span></dt><dd><p> | |
8d138742 CE |
26 | Compute a <acronym class="acronym">SHA1</acronym> password hash.</p></dd><dt><span class="term">ssha</span></dt><dd><p> |
27 | Compute a salted <acronym class="acronym">SHA1</acronym> password hash.</p></dd><dt><span class="term">sha256</span></dt><dd><p> | |
d9898ee8 | 28 | Compute a <acronym class="acronym">SHA256</acronym> password hash.</p></dd></dl></div><p> |
29 | If not specified, | |
30 | <em class="replaceable"><code>method</code></em> defaults to the | |
31 | modified-<acronym class="acronym">MD5</acronym> password encryption algorithm that's used | |
32 | in Linux (note that this is different from the “<span class="quote">md5</span>” password | |
33 | hash method).</p></div></div></body></html> |