STIGhubSTIGhub
STIGsRMF ControlsCompare
STIGhub— A free STIG search and compliance tool·STIGs updated 3 days ago
Powered by Pylon·Privacy·Terms·© 2026 Beacon Cloud Solutions, Inc.
← Back to Oracle Linux 9 Security Technical Implementation Guide

V-271844

CAT II (Medium)

OL 9 local interactive user home directories defined in the /etc/passwd file must exist.

Rule ID

SV-271844r1184222_rule

STIG

Oracle Linux 9 Security Technical Implementation Guide

Version

V1R5

CCIs

CCI-000366

Discussion

If a local interactive user has a home directory defined that does not exist, the user may be given access to the / directory as the current working directory upon logon. This could create a denial of service because the user would not be able to access their logon configuration files, and it may give them visibility to system files they normally would not be able to access.

Check Content

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.

Fix Text

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