GEN001460 - All interactive user home directories defined in the /etc/passwd file must exist.

Information

If a user has a home directory defined that does not exist, the user may be given the / directory, by default, as the current working directory upon logon. This could create a Denial of Service because the user would not be able to perform useful tasks in this location.

Solution

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

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_SOL_10_x86_V2R4_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|III, CCI|CCI-000366, Rule-ID|SV-227653r603266_rule, STIG-ID|GEN001460, STIG-Legacy|SV-27192, STIG-Legacy|V-900, Vuln-ID|V-227653

Plugin: Unix

Control ID: 25d0cd9d2c74b5226950538ad71087c63f4cad3e7fc699d79a7147f29d2ecda2