summaryrefslogtreecommitdiff
path: root/mkpasswd.1
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2019-12-06 13:10:00 +0300
committerIgor Pashev <pashev.igor@gmail.com>2019-12-06 13:10:00 +0300
commit8c13fdabc9833ead8afb57f6c4b476fb7a1ab9e6 (patch)
tree6acdbdadfef2a251bb95ef0aed0f673f0f2bbfa9 /mkpasswd.1
parent45eb26992d9fa4efd74b7b283834dcfc212a403f (diff)
parentabf1f11b61b525aa6b95673e50d4be90505b1d67 (diff)
downloadwhois-master.tar.gz
Merge git://github.com/rfc1036/whoisHEADmaster
Diffstat (limited to 'mkpasswd.1')
-rw-r--r--mkpasswd.15
1 files changed, 5 insertions, 0 deletions
diff --git a/mkpasswd.1 b/mkpasswd.1
index db7db47..21555ad 100644
--- a/mkpasswd.1
+++ b/mkpasswd.1
@@ -20,10 +20,13 @@ Use the \fISTRING\fP as salt. It must not contain prefixes such as \fI$1$\fP.
Use \fINUMBER\fP rounds. This argument is ignored if the method chosen
does not support variable rounds. For the OpenBSD Blowfish method this is
the logarithm of the number of rounds.
+The behavior is undefined if this option is used without \fI--method\fP.
.TP
.B -m, --method=TYPE
Compute the password using the \fITYPE\fP method.
If \fITYPE\fP is \fIhelp\fP then the available methods are printed.
+If \fITYPE\fP begins and end with \fI$\fP characters then the string
+is passed to \fIcrypt_gensalt(3)\fP as-is.
.TP
.B -5
Like \fI--method=md5\fP.
@@ -49,6 +52,8 @@ This programs suffers of a bad case of featuritis.
.IR passwd(1),
.IR passwd(5),
.IR crypt(3),
+.IR crypt(5),
+.IR crypt_gensalt(3),
.IR getpass(3)
.SH AUTHOR
.B mkpasswd