SV-271844r1184222_rule
V-271844
SRG-OS-000480-GPOS-00227
OL09-00-003050
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 disauser, who has a home directory of "/home/disauser", a user identifier (UID) of "disauser", and a Group Identifier (GID) of "users assigned" in "/etc/passwd".
$ sudo mkdir /home/disauser
$ sudo chown disauser /home/disauser
$ sudo chgrp users /home/disauser
$ sudo chmod 0750 /home/disauser
Verify OL 9 assigned home directories of all interactive users on the system exist with the following command:
$ sudo pwck -r
The output should not return any interactive users.
If users home directory does not exist, this is a finding.
V-271844
False
OL09-00-003050
Verify OL 9 assigned home directories of all interactive users on the system exist with the following command:
$ sudo pwck -r
The output should not return any interactive users.
If users home directory does not exist, this is a finding.
M
5680