The Photon operating system must store only encrypted representations of passwords.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-256502 | SRG-OS-000073-GPOS-00041 | PHTN-30-000025 | SV-256502r982199_rule | 2024-12-16 | 1 |
Description
Passwords need to be protected at all times, and encryption is the standard method for protecting passwords. If passwords are not encrypted, they can be plainly read (i.e., clear text) and easily compromised.
ℹ️ Check
At the command line, run the following command:
# grep SHA512 /etc/login.defs|grep -v "#"
Expected result:
ENCRYPT_METHOD SHA512
If there is no output or if the output does match the expected result, this is a finding.
✔️ Fix
Navigate to and open:
/etc/login.defs
Add or replace the ENCRYPT_METHOD line as follows:
ENCRYPT_METHOD SHA512