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

Default system accounts, other than root, must be locked.


Overview

Finding ID Version Rule ID IA Controls Severity
RHEL-06-000029 RHEL-06-000029 RHEL-06-000029_rule Medium
Description
Disabling authentication for default system accounts makes it more difficult for attackers to make use of them to compromise a system.
STIG Date
Red Hat Enterprise Linux 6 Security Technical Implementation Guide 2013-02-05

Details

Check Text ( C-RHEL-06-000029_chk )
To obtain a listing of all users and the contents of their shadow password field, run the command:

$ awk -F: '{print $1 ":" $2}' /etc/shadow

Identify the system accounts from this listing. These will primarily be the accounts with UID numbers less than 500, other than root.
If any system account (other than root) has a valid password hash, this is a finding.
Fix Text (F-RHEL-06-000029_fix)
Some accounts are not associated with a human user of the system, and exist to perform some administrative function. An attacker should not be able to log into these accounts.

Disable login access to these accounts with the command:

# passwd -l [SYSACCT]