All TOSS local interactive users must have a home directory assigned in the /etc/passwd file.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-252962 | TOSS-04-020230 | SV-252962r991589_rule | CCI-000366 | 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 | |||
| Tri-Lab Operating System Stack (TOSS) 4 Security Technical Implementation Guide | 2025-05-08 | |||
Details
Check Text (C-252962r991589_chk)
Verify local interactive users on TOSS 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.
Fix Text (F-56365r824209_fix)
Assign home directories to all local interactive users on TOSS that currently do not have a home directory assigned.