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

The operating system, upon successful logon, must display to the user the date and time of the last logon or access via a local console or tty.


Overview

Finding ID Version Rule ID IA Controls Severity
V-38485 RHEL-06-000506 SV-50286r1_rule Medium
Description
Users need to be aware of activity that occurs regarding their accounts. Providing users with information regarding the date and time of their last successful login allows the user to determine if any unauthorized activity has occurred and gives them an opportunity to notify administrators. At console or tty logon, a user must be presented with the last successful login date and time. The "hushlogin" file determines whether this occurs.
STIG Date
Red Hat Enterprise Linux 6 Security Technical Implementation Guide 2013-06-03

Details

Check Text ( C-46042r1_chk )
Verify there are no "hushlogin" files active on the system:

# ls -l /etc/hushlogins

For each home directory stored in "/etc/passwd":

# ls ~/.hushlogin

If there are any "hushlogin" files on the system, this is a finding.
Fix Text (F-43432r1_fix)
Remove any "hushlogin" files from the system:

# rm /etc/hushlogins
# rm ~/.hushlogin