SV-281178r1195418_rule
V-281178
SRG-OS-000420-GPOS-00186
RHEL-10-600190
CAT II
10
Configure RHEL 10 interactive users' home directories to exist on the system.
Create home directories to all local interactive users that 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 RHEL 10 interactive users' home directories exist on the system with the following command:
$ sudo pwck -r
user 'mailnull': directory 'var/spool/mqueue' does not exist
The output should not return any interactive users.
If an interactive user's home directory does not exist, this is a finding.
V-281178
False
RHEL-10-600190
Verify RHEL 10 interactive users' home directories exist on the system with the following command:
$ sudo pwck -r
user 'mailnull': directory 'var/spool/mqueue' does not exist
The output should not return any interactive users.
If an interactive user's home directory does not exist, this is a finding.
M
5733