GEN000440 - Successful and unsuccessful logins and logouts must be logged - 'lastb -5 -R'

Information

Monitoring and recording successful and unsuccessful logins assists in tracking unauthorized access to the system. Without this logging, the ability to track unauthorized activity to specific user accounts may be diminished.

Solution

Make sure the collection files exist.
Procedure:
If there are no successful logins being returned from the 'last' command, create /var/log/wtmp:
# touch /var/log/wtmp

If there are no unsuccessful logins being returned from the 'lastb' command, create /var/log/btmp:
# touch /var/log/btmp

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Oracle_Linux_5_V2R1_STIG.zip

Item Details

Category: AUDIT AND ACCOUNTABILITY, CONFIGURATION MANAGEMENT

References: 800-53|AU-2d., 800-53|CM-6b., CAT|II, CCI|CCI-000126, CCI|CCI-000366, Rule-ID|SV-218215r603259_rule, STIG-ID|GEN000440, STIG-Legacy|SV-63363, STIG-Legacy|V-765, Vuln-ID|V-218215

Plugin: Unix

Control ID: 943bd3453e7ec4b1b499cde67f226c6e06e29d633a4fcba6798a96b884cb6319