summaryrefslogtreecommitdiff
path: root/mkpasswd.1
diff options
context:
space:
mode:
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