STIGhubSTIGhub
STIGsSearchCompare

STIGhub

A free tool to search and browse the entire DISA STIG library. Saves up to 75% in security compliance research time.

Navigation

  • Browse STIGs
  • Search
  • Compare Versions

Resources

  • About
  • Release Notes
  • VPAT
  • DISA STIG Library
STIGs updated 7 hours ago
Powered by Pylon
© 2026 Beacon Cloud Solutions, Inc. All rights reserved.
← Back to SUSE Linux Enterprise Server 15 Security Technical Implementation Guide

V-234992

CAT II (Medium)

All SUSE operating system local interactive user home directories defined in the /etc/passwd file must exist.

Rule ID

SV-234992r1184471_rule

STIG

SUSE Linux Enterprise Server 15 Security Technical Implementation Guide

Version

V2R7

CCIs

None

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 the assigned home directory of all SUSE operating system local interactive users on the system exists.

Check the home directory assignment for all local interactive nonprivileged users on the system with the following command:

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

doduser /home/doduser

Note: This may miss interactive users that have been assigned a privileged User Identifier (UID). Evidence of interactive use may be obtained from a number of log files containing system logon information.

Check that all referenced home directories exist with the following command:

> sudo pwck -r

user 'doduser': directory '/home/doduser' does not exist

If any home directories referenced in "/etc/passwd" are returned as not defined, this is a finding.

Fix Text

Create home directories to all SUSE operating system 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 doduser, who has a home directory of "/home/doduser", a UID of "doduser", and a Group Identifier (GID) of "users assigned" in "/etc/passwd".

> sudo mkdir /home/doduser 
> sudo chown doduser /home/doduser
> sudo chgrp users /home/doduser
> sudo chmod 0750 /home/doduser