5.3.3.5.1 Ensure the date and time of the last successful account logon upon logon is displayed

Information

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

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".

Add the following line to the top of "/etc/pam.d/postlogin":

session required pam_lastlog.so showfailed

See Also

https://workbench.cisecurity.org/benchmarks/19886

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-9(4)

Plugin: Unix

Control ID: fb5656fe9dd2980a1337aa6c5323a38530e12601d4c955a85a3f72df423d2b9a