SV-282725r1201593_rule
V-282725
SRG-OS-000480-GPOS-00227
TOSS-05-000301
CAT II
10
Create and assign home directories to all local interactive users on TOSS 5 that currently do not have a home directory assigned.
Verify interactive users on the system have a home directory assigned using the following command:
$ sudo awk -F: '($3>=1000)&&($7 !~ /nologin/){print $1, $3, $6}' /etc/passwd
smithk:x:1000:1000:smithk:/home/smithk:/bin/bash
scsaustin:x:1001:1001:scsaustin:/home/scsaustin:/bin/bash
djohnson:x:1002:1002:djohnson:/home/djohnson:/bin/bash
Inspect the output and verify that all interactive users (normally users with a user identifier [UID] greater than 1000) have a home directory defined.
If users home directory is not defined, this is a finding.
V-282725
False
TOSS-05-000301
Verify interactive users on the system have a home directory assigned using the following command:
$ sudo awk -F: '($3>=1000)&&($7 !~ /nologin/){print $1, $3, $6}' /etc/passwd
smithk:x:1000:1000:smithk:/home/smithk:/bin/bash
scsaustin:x:1001:1001:scsaustin:/home/scsaustin:/bin/bash
djohnson:x:1002:1002:djohnson:/home/djohnson:/bin/bash
Inspect the output and verify that all interactive users (normally users with a user identifier [UID] greater than 1000) have a home directory defined.
If users home directory is not defined, this is a finding.
M
5738