From 6c3ea4f47ea280811a7fe53a22f7832e4533c9ec Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 26 Jun 2024 18:18:36 +0200 Subject: Adding upstream version 1:4.15.2. Signed-off-by: Daniel Baumann --- man/chpasswd.8.xml | 80 +++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 61 insertions(+), 19 deletions(-) (limited to 'man/chpasswd.8.xml') diff --git a/man/chpasswd.8.xml b/man/chpasswd.8.xml index 6353419..cffd9df 100644 --- a/man/chpasswd.8.xml +++ b/man/chpasswd.8.xml @@ -6,9 +6,11 @@ --> + ]> @@ -115,12 +117,16 @@ Use the specified method to encrypt the passwords. - - The available methods are DES, MD5, and NONE. - - - The available methods are DES, MD5, NONE, and SHA256 or SHA512 - if your libc support these methods. + + The available methods are + BCRYPT, + DES, + MD5, + SHA256, + SHA512, + YESCRYPT and + NONE + if your libc supports these methods. By default, PAM is used to encrypt the passwords. @@ -173,7 +179,22 @@ - + + + ,  PREFIX_DIR + + + + Apply changes to configuration files under the root filesystem + found under the directory PREFIX_DIR. + This option does not chroot and is intended for preparing a cross-compilation + target. Some limitations: NIS and LDAP users/groups are + not verified. PAM authentication is using the host files. + No SELINUX support. + + + + ,  ROUNDS @@ -182,23 +203,42 @@ Use the specified number of rounds to encrypt the passwords. - The value 0 means that the system will choose the default - number of rounds for the crypt method (5000). + You can only use this option with crypt method: + + BCRYPT + + SHA256 + SHA512 + + YESCRYPT - - A minimal value of 1000 and a maximal value of 999,999,999 - will be enforced. + + By default, the number of rounds for BCRYPT is defined by the + BCRYPT_MIN_ROUNDS and BCRYPT_MAX_ROUNDS variables in + /etc/login.defs. - - You can only use this option with the SHA256 or SHA512 - crypt method. + + A minimal value of 4 and a maximal value of 31 + will be enforced for BCRYPT. The default number of rounds is 13. - - By default, the number of rounds is defined by the - and - variables in + + By default, the number of rounds for SHA256 or SHA512 is defined by + the SHA_CRYPT_MIN_ROUNDS and SHA_CRYPT_MAX_ROUNDS variables in /etc/login.defs. + + A minimal value of 1000 and a maximal value of 999,999,999 + will be enforced for SHA256 and SHA512. The default number of rounds + is 5000. + + + By default, the number of rounds for YESCRYPT is defined by the + YESCRYPT_COST_FACTOR in /etc/login.defs. + + + A minimal value of 1 and a maximal value of 11 + will be enforced for YESCRYPT. The default number of rounds is 5. + @@ -224,7 +264,9 @@ &MD5_CRYPT_ENAB; + &BCRYPT_MIN_ROUNDS; &SHA_CRYPT_MIN_ROUNDS; + &YESCRYPT_COST_FACTOR; -- cgit v1.2.3