|
Revision 1246, 1.2 kB
(checked in by mbr, 4 years ago)
|
updated to whois-4.6.23
|
- Property svn:eol-style set to
native
- Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 |
.TH MKPASSWD 1 "11 October 2002" "Marco d'Itri" "Debian GNU/Linux" |
|---|
| 2 |
.SH NAME |
|---|
| 3 |
mkpasswd \- Overfeatured front end to crypt(3) |
|---|
| 4 |
.SH SYNOPSIS |
|---|
| 5 |
.B mkpasswd |
|---|
| 6 |
.BR PASSWORD |
|---|
| 7 |
.BR SALT |
|---|
| 8 |
.PP |
|---|
| 9 |
.SH DESCRIPTION |
|---|
| 10 |
.B mkpasswd |
|---|
| 11 |
encrypts the given password with the |
|---|
| 12 |
.BR crypt(3) |
|---|
| 13 |
libc function using the given salt. |
|---|
| 14 |
.SH OPTIONS |
|---|
| 15 |
.TP |
|---|
| 16 |
.B -S, --salt=STRING |
|---|
| 17 |
Use the \fISTRING\fP as salt. It must not contain prefixes such as \fI$1$\fP. |
|---|
| 18 |
.TP |
|---|
| 19 |
.B -H, --hash=TYPE |
|---|
| 20 |
Compute the password using the \fITYPE\fP algorithm. |
|---|
| 21 |
If \fITYPE\fP is \fIhelp\fP available algorithms are printed. |
|---|
| 22 |
.TP |
|---|
| 23 |
.B -P, --password-fd=NUM |
|---|
| 24 |
Read the password from file descriptor \fINUM\fP instead of using |
|---|
| 25 |
\fIgetpass(3)\fP. |
|---|
| 26 |
If the file descriptor is not connected to a tty then no other message |
|---|
| 27 |
than the hashed password is printed on stdout. |
|---|
| 28 |
.TP |
|---|
| 29 |
.B -s, --stdin |
|---|
| 30 |
Like \fI--password-fd=0\fP. |
|---|
| 31 |
.SH BUGS |
|---|
| 32 |
If the \fI--stdin\fP option is used, passwords containing some control |
|---|
| 33 |
characters may not be read correctly. |
|---|
| 34 |
.TP |
|---|
| 35 |
This programs suffers of a bad case of featuritis. |
|---|
| 36 |
.SH "SEE ALSO" |
|---|
| 37 |
.IR passwd(1), |
|---|
| 38 |
.IR passwd(5), |
|---|
| 39 |
.IR crypt(3), |
|---|
| 40 |
.IR getpass(3) |
|---|
| 41 |
.SH AUTHOR |
|---|
| 42 |
.B mkpasswd |
|---|
| 43 |
and this man page were written by Marco d'Itri <md@linux.it> |
|---|
| 44 |
and are licensed under the terms of the GNU GPL. |
|---|
| 45 |
|
|---|