Check: UBTU-16-010720
Canonical Ubuntu 16.04 LTS STIG:
UBTU-16-010720
(in versions v2 r3 through v1 r3)
Title
All local interactive users must have a home directory assigned in the /etc/passwd file. (Cat II impact)
Discussion
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.
Check Content
Verify local interactive users on the Ubuntu operating system have a home directory assigned. Check for missing local interactive user home directories 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 cut -d: -f 1,3 /etc/passwd | egrep ":[1-4][0-9]{2}$|:[0-9]{1,2}$" If any interactive users do not have a home directory assigned, this is a finding.
Fix Text
Assign home directories to all local interactive users on the Ubuntu operating system that currently do not have a home directory assigned.
Additional Identifiers
Rule ID: SV-215004r610931_rule
Vulnerability ID: V-215004
Group Title: SRG-OS-000480-GPOS-00227
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000366 |
The organization implements the security configuration settings. |
Controls
Number | Title |
---|---|
CM-6 |
Configuration Settings |