From 22002f67be6bbb6720a277c62c099f841010d68e Mon Sep 17 00:00:00 2001 From: Marco d'Itri Date: Tue, 11 Sep 2018 01:25:13 +0200 Subject: [PATCH] mkpasswd.1: clarify that --rounds without --method makes no sense On old systems it will be ignored because descrypt does not support changing the number of rounds, while on newer systems the default method may change depending on the local configuration. --- mkpasswd.1 | 1 + 1 file changed, 1 insertion(+) diff --git a/mkpasswd.1 b/mkpasswd.1 index db7db47..86a949c 100644 --- a/mkpasswd.1 +++ b/mkpasswd.1 @@ -20,6 +20,7 @@ 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.