<div dir="ltr">Package: login<div>Version: 1:4.8.1-1</div><div><br></div><div>The YESCRYPT method not listed in man pages of login.defs, YESCRYPT_COST_FACTOR option should be listed in login.defs too (same for man page).</div><div><br></div><div>~# grep -B10 "ENCRYPT_METHOD " /etc/login.defs<br>#<br># If set to MD5 , MD5-based algorithm will be used for encrypting password<br># If set to SHA256, SHA256-based algorithm will be used for encrypting password<br># If set to SHA512, SHA512-based algorithm will be used for encrypting password<br># If set to DES, DES-based algorithm will be used for encrypting password (default)<br># Overrides the MD5_CRYPT_ENAB option<br>#<br># Note: It is recommended to use a value consistent with<br># the PAM modules configuration.<br>#<br>ENCRYPT_METHOD SHA512<br></div><div><br></div><div>Which is inconsistent with PAM common-password configuration</div><div>~# cat /etc/pam.d/common-password |grep pam_unix.so<br>password        [success=1 default=ignore]      pam_unix.so obscure yescrypt</div></div>