Skip to content

The Ubuntu operating system must employ a FIPS 140-2 approved cryptographic hashing algorithms for all created and stored passwords.

An XCCDF Rule

Description

The Ubuntu operating system must use a FIPS-compliant hashing algorithm to securely store the password. The FIPS-compliant hashing algorithm parameters must be selected in order to harden the system against offline attacks.

ID
SV-219182r610963_rule
Version
UBTU-18-010110
Severity
Medium
References
Updated

Remediation Templates

A Manual Procedure

Configure the Ubuntu operating system to encrypt all stored passwords with a strong cryptographic hash.

Edit/modify the following line in the file "/etc/pam.d/common-password" file to include the sha512 option for pam_unix.so:

password [success=1 default=ignore] pam_unix.so obscure sha512

Edit/modify /etc/login.defs and set "ENCRYPT_METHOD sha512".