1. Home
  2. Security Hardening
  3. DISA STIG Ubuntu 18.04 LTS V2R4
  4. UBTU-18-010032 – The Ubuntu operating system must display the date and time of the last successful account logon upon logon.

UBTU-18-010032 – The Ubuntu operating system must display the date and time of the last successful account logon upon logon.

Details

Configuring the Ubuntu operating system to implement organization-wide security implementation guides and security checklists ensures compliance with federal standards and establishes a common security baseline across DoD that reflects the most restrictive security posture consistent with operational requirements.

Configuration settings are the set of parameters that can be changed in hardware, software, or firmware components of the system that affect the security posture and/or functionality of the system. Security-related parameters are those parameters impacting the security state of the system, including the parameters required to satisfy other security control requirements. Security-related parameters include, for example: registry settings; account, file, directory permission settings; and settings for functions, ports, protocols, services, and remote connections.

Solution

Configure the Ubuntu operating system to provide users with feedback on when account accesses last occurred by setting the required configuration options in ‘/etc/pam.d/postlogin-ac’.

Add the following line to the top of ‘/etc/pam.d/login’:

session required pam_lastlog.so showfailed

Supportive Information

The following resource is also helpful.

This security hardening control applies to the following category of controls within NIST 800-53: Configuration Management.This control applies to the following type of system Unix.

References

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles