SV-215435r508663_rule
V-215435
SRG-OS-000480-GPOS-00230
AIX7-00-003141
CAT II
10
Remove any unauthorized accounts with no home directory.
If the account is valid, create the home directory using the appropriate system administration utility or process.
Verify each interactive user is assigned a home directory:
# cut -d: -f1,6 /etc/passwd
root
srvproxy
doejohn
If an interactive user is not assigned a home directory, this is a finding.
Verify that the interactive user home directories exist on the system:
# cut -d: -f6 /etc/passwd | xargs -n1 ls -ld
drwxr-xr-x 2 doejohn staff 256 Jan 25 13:18 /home/doejohn
drwxr-xr-x 2 sshd system 256 Aug 11 2017 /home/srvproxy
drwx------ 2 root system 256 Jan 30 12:54 /root
If any interactive user home directory does not exist, this is a finding.
V-215435
False
AIX7-00-003141
Verify each interactive user is assigned a home directory:
# cut -d: -f1,6 /etc/passwd
root
srvproxy
doejohn
If an interactive user is not assigned a home directory, this is a finding.
Verify that the interactive user home directories exist on the system:
# cut -d: -f6 /etc/passwd | xargs -n1 ls -ld
drwxr-xr-x 2 doejohn staff 256 Jan 25 13:18 /home/doejohn
drwxr-xr-x 2 sshd system 256 Aug 11 2017 /home/srvproxy
drwx------ 2 root system 256 Jan 30 12:54 /root
If any interactive user home directory does not exist, this is a finding.
M
4012