diff options
Diffstat (limited to 'src/lib/libssl/src/doc/apps/passwd.pod')
-rw-r--r-- | src/lib/libssl/src/doc/apps/passwd.pod | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/src/lib/libssl/src/doc/apps/passwd.pod b/src/lib/libssl/src/doc/apps/passwd.pod new file mode 100644 index 0000000000..cee6a2f172 --- /dev/null +++ b/src/lib/libssl/src/doc/apps/passwd.pod | |||
@@ -0,0 +1,69 @@ | |||
1 | =pod | ||
2 | |||
3 | =head1 NAME | ||
4 | |||
5 | passwd - compute password hashes | ||
6 | |||
7 | =head1 SYNOPSIS | ||
8 | |||
9 | B<openssl passwd> | ||
10 | [B<-crypt>] | ||
11 | [B<-apr1>] | ||
12 | [B<-salt> I<string>] | ||
13 | [B<-in> I<file>] | ||
14 | [B<-stdin>] | ||
15 | [B<-quiet>] | ||
16 | [B<-table>] | ||
17 | {I<password>} | ||
18 | |||
19 | =head1 DESCRIPTION | ||
20 | |||
21 | The B<passwd> command computes the hash of a password typed at | ||
22 | run-time or the hash of each password in a list. The password list is | ||
23 | taken from the named file for option B<-in file>, from stdin for | ||
24 | option B<-stdin>, and from the command line otherwise. | ||
25 | The Unix standard algorithm B<crypt> and the MD5-based B<apr1> algorithm | ||
26 | are available. | ||
27 | |||
28 | =head1 OPTIONS | ||
29 | |||
30 | =over 4 | ||
31 | |||
32 | =item B<-crypt> | ||
33 | |||
34 | Use the B<crypt> algorithm (default). | ||
35 | |||
36 | =item B<-apr1> | ||
37 | |||
38 | Use the B<apr1> algorithm. | ||
39 | |||
40 | =item B<-salt> I<string> | ||
41 | |||
42 | Use the specified salt. | ||
43 | |||
44 | =item B<-in> I<file> | ||
45 | |||
46 | Read passwords from I<file>. | ||
47 | |||
48 | =item B<-stdin> | ||
49 | |||
50 | Read passwords from B<stdin>. | ||
51 | |||
52 | =item B<-quiet> | ||
53 | |||
54 | Don't output warnings when passwords given at the command line are truncated. | ||
55 | |||
56 | =item B<-table> | ||
57 | |||
58 | In the output list, prepend the cleartext password and a TAB character | ||
59 | to each password hash. | ||
60 | |||
61 | =back | ||
62 | |||
63 | =head1 EXAMPLES | ||
64 | |||
65 | B<openssl passwd -crypt -salt xx password> prints B<xxj31ZMTZzkVA>. | ||
66 | |||
67 | B<openssl passwd -apr1 -salt xxxxxxxx password> prints B<$apr1$xxxxxxxx$dxHfLAsjHkDRmG83UXe8K0>. | ||
68 | |||
69 | =cut | ||