UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

All SLEM 5 local interactive users must have a home directory assigned in the /etc/passwd file.


Overview

Finding ID Version Rule ID IA Controls Severity
V-261351 SLEM-05-411025 SV-261351r996506_rule Medium
Description
If local interactive users are not assigned a valid home directory, there is no place for the storage and control of files they should own.
STIG Date
SUSE Linux Enterprise Micro (SLEM) 5 Security Technical Implementation Guide 2024-06-04

Details

Check Text ( C-65080r996505_chk )
Verify SLEM 5 local interactive users on the system have a home directory assigned with the following command:

> sudo pwck -r
user 'smithj': directory '/home/smithj' 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:

> awk -F: '($3>=1000)&&($1!="nobody"){print $1 ":" $3}' /etc/passwd

If any interactive users do not have a home directory assigned, this is a finding.
Fix Text (F-64988r995919_fix)
Assign home directories to all SLEM 5 local interactive users that currently do not have a home directory assigned.

Assign a home directory to users via the usermod command:

> sudo usermod -d /home/smithj smithj