SV-282726r1201158_rule
V-282726
SRG-OS-000480-GPOS-00227
TOSS-05-000302
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 "wadea", who has a home directory of "/home/wadea", a user identifier (UID) of "wadea", and a Group Identifier (GID) of "users assigned" in "/etc/passwd".
$ sudo mkdir /home/wadea
$ sudo chown wadea /home/wadea
$ sudo chgrp users /home/wadea
$ sudo chmod 0750 /home/wadea
Verify the assigned home directories of all interactive users on the system exist using the following command:
$ sudo pwck -r
user 'mailnull': directory 'var/spool/mqueue' does not exist
The output should not return any interactive users.
If the user's home directory does not exist, this is a finding.
V-282726
False
TOSS-05-000302
Verify the assigned home directories of all interactive users on the system exist using the following command:
$ sudo pwck -r
user 'mailnull': directory 'var/spool/mqueue' does not exist
The output should not return any interactive users.
If the user's home directory does not exist, this is a finding.
M
5738