SV-226527r603265_rule
V-226527
SRG-OS-000480
GEN001460
CAT III
10
If a user has no home directory, determine why. If possible, delete accounts that have no home directory. If the account is valid, then create the home directory using the appropriate system administration utility or manually.
For instance: mkdir directoryname; copy the skeleton files into the directory; chown accountname for the new directory and the skeleton files. Document all changes.
Update the sixth field in the /etc/passwd file to reflect the user's home directory.
# usermod -d
OR
# vi /etc/passwd
Use pwck to verify assigned home directories exist.
# pwck
If any user's assigned home directory does not exist, this is a finding.
V-226527
False
GEN001460
Use pwck to verify assigned home directories exist.
# pwck
If any user's assigned home directory does not exist, this is a finding.
M
4060