STIGQter STIGQter: STIG Summary: Oracle Linux 8 Security Technical Implementation Guide Version: 2 Release: 9 Benchmark Date: 01 Jul 2026:

All OL 8 local interactive users must have a home directory assigned in the "/etc/passwd" file.

DISA Rule

SV-248638r991589_rule

Vulnerability Number

V-248638

Group Title

SRG-OS-000480-GPOS-00227

Rule Version

OL08-00-010720

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Assign home directories to all local interactive users on OL 8 that currently do not have a home directory assigned.

Check Contents

Verify local interactive users on OL 8 have a home directory assigned with the following command:

$ sudo pwck -r

user 'lp': directory '/var/spool/lpd' does not exist
user 'news': directory '/var/spool/news' does not exist
user 'uucp': directory '/var/spool/uucp' does not exist
user 'www-data': directory '/var/www' does not exist

Ask the System Administrator (SA) if any users found without home directories are local interactive users.

If the SA is unable to provide a response, check for users with a User Identifier (UID) of 1000 or greater with the following command:

$ sudo awk -F: '($3>=1000)&&($7 !~ /nologin/){print $1, $3, $6}' /etc/passwd

If any interactive users do not have a home directory assigned, this is a finding.

Vulnerability Number

V-248638

Documentable

False

Rule Version

OL08-00-010720

Severity Override Guidance

Verify local interactive users on OL 8 have a home directory assigned with the following command:

$ sudo pwck -r

user 'lp': directory '/var/spool/lpd' does not exist
user 'news': directory '/var/spool/news' does not exist
user 'uucp': directory '/var/spool/uucp' does not exist
user 'www-data': directory '/var/www' does not exist

Ask the System Administrator (SA) if any users found without home directories are local interactive users.

If the SA is unable to provide a response, check for users with a User Identifier (UID) of 1000 or greater with the following command:

$ sudo awk -F: '($3>=1000)&&($7 !~ /nologin/){print $1, $3, $6}' /etc/passwd

If any interactive users do not have a home directory assigned, this is a finding.

Check Content Reference

M

Target Key

5416