Configure bcrypt password hashing on Red Hat Enterprise Linux 8.10
Issue
- When configuring bcrypt password hashing with
ENCRYPT_METHOD BCRYPTin/etc/login.defs, the following error may be reported in the/var/log/securefile:
unrecognized ENCRYPT_METHOD value [BCRYPT]
When using commands such as
chpasswdoruseradd -pwhileENCRYPT_METHODis set to this unsupported value, the following error may be reported:
Invalid ENCRYPT_METHOD value: 'BCRYPT'.
Defaulting to DES.
Environment
- Red Hat Enterprise Linux (RHEL) 8.10
- Pluggable Authentication Modules (PAM)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.