SV-269209r1050091_rule
V-269209
SRG-OS-000480-GPOS-00230
ALMA-09-014650
CAT II
10
Create home directories to all local interactive users that currently do not have a home directory assigned. Use the following commands to create the user home directory assigned in "/etc/ passwd":
Note: The example will be for the user testdupe, who has a home directory of "/home/testdupe", a UID of "testdupe", and a GID of "testdupe" in "/etc/passwd":
$ mkdir /home/testdupe
$ chown testdupe /home/testdupe
$ chgrp testdupe /home/testdupe
$ chmod 0700 /home/testdupe
Verify the assigned home directories of all interactive users on the system exist with the following command:
$ pwck -r
user 'testdupe': directory '/home/testdupe' does not exist
The output should not return any interactive users.
If users home directory does not exist, this is a finding.
V-269209
False
ALMA-09-014650
Verify the assigned home directories of all interactive users on the system exist with the following command:
$ pwck -r
user 'testdupe': directory '/home/testdupe' does not exist
The output should not return any interactive users.
If users home directory does not exist, this is a finding.
M
5664