The Photon operating system must create a home directory for all new local interactive user accounts.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
---|---|---|---|---|---|---|
medium | V-258872 | SRG-OS-000480-GPOS-00227 | PHTN-40-000209 | SV-258872r991589_rule | 2024-07-11 | 2 |
Description |
---|
If local interactive users are not assigned a valid home directory, there is no place for the storage and control of files they should own. |
ℹ️ Check |
---|
At the command line, run the following command to verify a home directory is created for all new user accounts: # grep '^CREATE_HOME' /etc/login.defs Example result: CREATE_HOME yes If the "CREATE_HOME" option is not set to "yes", is missing or commented out, this is a finding. |
✔️ Fix |
---|
Navigate to and open: /etc/login.defs Add or update the following line: CREATE_HOME yes |