5.4.8 Ensure date and time of last successful logon - silent

Information

The operating system must display the date and time of the last successful account logon upon logon.

Rationale:

Providing users with feedback on when account accesses last occurred facilitates user recognition and reporting of unauthorized account use.

Solution

Configure the operating system to provide users with feedback on when account accesses last occurred by setting the required configuration options in /etc/pam.d/postlogin.
Example: vim /etc/pam.d/postlogin
Add the following line to the top of the file:

session required pam_lastlog.so showfailed

See Also

https://workbench.cisecurity.org/files/3636

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CCI|CCI-000366, CSCv7|6.2, Rule-ID|SV-204605r603261_rule, STIG-ID|RHEL-07-040530

Plugin: Unix

Control ID: 2995463ffcb7002d781a8ad07aad811a0cb1ed8fe3131e00f6c29fd32354e215