1PASSWD(1)                           OpenSSL                          PASSWD(1)
2
3
4

NAME

6       passwd - compute password hashes
7

SYNOPSIS

9       openssl passwd [-crypt] [-1] [-apr1] [-salt string] [-in file] [-stdin]
10       [-noverify] [-quiet] [-table] {password}
11

DESCRIPTION

13       The passwd command computes the hash of a password typed at run-time or
14       the hash of each password in a list.  The password list is taken from
15       the named file for option -in file, from stdin for option -stdin, or
16       from the command line, or from the terminal otherwise.  The Unix
17       standard algorithm crypt and the MD5-based BSD password algorithm 1 and
18       its Apache variant apr1 are available.
19

OPTIONS

21       -crypt
22           Use the crypt algorithm (default).
23
24       -1  Use the MD5 based BSD password algorithm 1.
25
26       -apr1
27           Use the apr1 algorithm (Apache variant of the BSD algorithm).
28
29       -salt string
30           Use the specified salt.  When reading a password from the terminal,
31           this implies -noverify.
32
33       -in file
34           Read passwords from file.
35
36       -stdin
37           Read passwords from stdin.
38
39       -noverify
40           Don't verify when reading a password from the terminal.
41
42       -quiet
43           Don't output warnings when passwords given at the command line are
44           truncated.
45
46       -table
47           In the output list, prepend the cleartext password and a TAB
48           character to each password hash.
49

EXAMPLES

51       openssl passwd -crypt -salt xx password prints xxj31ZMTZzkVA.
52
53       openssl passwd -1 -salt xxxxxxxx password prints
54       $1$xxxxxxxx$UYCIxa628.9qXjpQCjM4a..
55
56       openssl passwd -apr1 -salt xxxxxxxx password prints
57       $apr1$xxxxxxxx$dxHfLAsjHkDRmG83UXe8K0.
58
59
60
611.0.1e                            2013-02-11                         PASSWD(1)
Impressum