SV-220029r603265_rule
V-220029
SRG-OS-000480
GEN001500
CAT II
10
Change the owner of a user's home directory to its assigned user.
Procedure:
# chown <user> <home directory>
Check the ownership of each user's home directory listed in the /etc/passwd file.
Procedure:
# cut -d : -f 6 /etc/passwd | xargs -n1 ls -ld | more
If any user's home directory is not owned by the assigned user, this is a finding.
V-220029
False
GEN001500
Check the ownership of each user's home directory listed in the /etc/passwd file.
Procedure:
# cut -d : -f 6 /etc/passwd | xargs -n1 ls -ld | more
If any user's home directory is not owned by the assigned user, this is a finding.
M
4060