passwd.pod (59191) | passwd.pod (68651) |
---|---|
1=pod 2 3=head1 NAME 4 5passwd - compute password hashes 6 7=head1 SYNOPSIS 8 9B<openssl passwd> 10[B<-crypt>] | 1=pod 2 3=head1 NAME 4 5passwd - compute password hashes 6 7=head1 SYNOPSIS 8 9B<openssl passwd> 10[B<-crypt>] |
11[B<-1>] |
|
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 21The B<passwd> command computes the hash of a password typed at 22run-time or the hash of each password in a list. The password list is 23taken from the named file for option B<-in file>, from stdin for 24option B<-stdin>, and from the command line otherwise. | 12[B<-apr1>] 13[B<-salt> I<string>] 14[B<-in> I<file>] 15[B<-stdin>] 16[B<-quiet>] 17[B<-table>] 18{I<password>} 19 20=head1 DESCRIPTION 21 22The B<passwd> command computes the hash of a password typed at 23run-time or the hash of each password in a list. The password list is 24taken from the named file for option B<-in file>, from stdin for 25option B<-stdin>, and from the command line otherwise. |
25The Unix standard algorithm B<crypt> and the MD5-based B<apr1> algorithm 26are available. | 26The Unix standard algorithm B<crypt> and the MD5-based BSD password 27algorithm B<1> and its Apache variant B<apr1> are available. |
27 28=head1 OPTIONS 29 30=over 4 31 32=item B<-crypt> 33 34Use the B<crypt> algorithm (default). 35 | 28 29=head1 OPTIONS 30 31=over 4 32 33=item B<-crypt> 34 35Use the B<crypt> algorithm (default). 36 |
37=item B<-1> 38 39Use the MD5 based BSD password algorithm B<1>. 40 |
|
36=item B<-apr1> 37 | 41=item B<-apr1> 42 |
38Use the B | 43Use the B<apr1> algorithm (Apache variant of the BSD algorithm). |
39 40=item B<-salt> I<string> 41 42Use the specified salt. 43 44=item B<-in> I<file> 45 46Read passwords from I<file>. --- 12 unchanged lines hidden (view full) --- 59to each password hash. 60 61=back 62 63=head1 EXAMPLES 64 65B<openssl passwd -crypt -salt xx password> prints B<xxj31ZMTZzkVA>. 66 | 44 45=item B<-salt> I<string> 46 47Use the specified salt. 48 49=item B<-in> I<file> 50 51Read passwords from I<file>. --- 12 unchanged lines hidden (view full) --- 64to each password hash. 65 66=back 67 68=head1 EXAMPLES 69 70B<openssl passwd -crypt -salt xx password> prints B<xxj31ZMTZzkVA>. 71 |
72B<openssl passwd -1 -salt xxxxxxxx password> prints B<$1$xxxxxxxx$8XJIcl6ZXqBMCK0qFevqT1>. 73 |
|
67B<openssl passwd -apr1 -salt xxxxxxxx password> prints B<$apr1$xxxxxxxx$dxHfLAsjHkDRmG83UXe8K0>. 68 69=cut | 74B<openssl passwd -apr1 -salt xxxxxxxx password> prints B<$apr1$xxxxxxxx$dxHfLAsjHkDRmG83UXe8K0>. 75 76=cut |