Skip to content
ATO Pathways
Log In
Overview
Search
Catalogs
SCAP
OSCAL
Catalogs
Profiles
Documents
References
Knowledge Base
Platform Documentation
Compliance Dictionary
Platform Changelog
About
Catalogs
XCCDF
Guide to the Secure Configuration of Ubuntu 22.04
System Settings
Account and Access Control
Protect Accounts by Configuring PAM
Set Password Hashing Algorithm
Set Password Hashing Algorithm
An XCCDF Group - A logical subset of the XCCDF Benchmark
Details
Profiles
Prose
Set Password Hashing Algorithm
1 Rule
The system's default algorithm for storing password hashes in
/etc/shadow
is SHA-512. This can be configured in several locations.
Set Password Hashing Algorithm in /etc/login.defs
Medium Severity
In
/etc/login.defs
, add or correct the following line to ensure the system will use
as the hashing algorithm:
ENCRYPT_METHOD