1.67 UBTU-24-300024

Information

Ubuntu 24.04 LTS must display the date and time of the last successful account logon upon logon.

GROUP ID: V-270710
RULE ID: SV-270710r1066619

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 Ubuntu 24.04 LTS to provide users with feedback on when account accesses last occurred by setting the required configuration options in "/etc/pam.d/login".

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

session required pam_lastlog.so showfailed

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|III, CCI|CCI-000366, Rule-ID|SV-270710r1066619_rule, STIG-ID|UBTU-24-300024, Vuln-ID|V-270710

Plugin: Unix

Control ID: 384a47ffd891f4101e59013cc27212e1ee4a98cbf313c243a83d16cd7b384ea9