STIGQter STIGQter: STIG Summary: Canonical Ubuntu 22.04 LTS Security Technical Implementation Guide Version: 2 Release: 9 Benchmark Date: 01 Jul 2026:

Ubuntu 22.04 LTS must generate audit records for the /var/log/btmp file.

DISA Rule

SV-260641r991581_rule

Vulnerability Number

V-260641

Group Title

SRG-OS-000472-GPOS-00217

Rule Version

UBTU-22-654195

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Configure the audit system to generate audit events showing start and stop times for user access via the "/var/log/btmp file".

Add or modify the following line in the "/etc/audit/rules.d/stig.rules" file:

-w /var/log/btmp -p wa -k logins

To reload the rules file, issue the following command:

$ sudo augenrules --load

Note: The "-k <keyname>" at the end of the line gives the rule a unique meaning to help during an audit investigation. The <keyname> does not need to match the example above.

Check Contents

Verify Ubuntu 22.04 LTS generates audit records showing start and stop times for user access to the system via the "/var/log/btmp" file by using the following command:

$ sudo auditctl -l | grep '/var/log/btmp'
-w /var/log/btmp -p wa -k logins

If the command does not return a line matching the example or the line is commented out, this is a finding.

Note: The "-k" value is arbitrary and can be different from the example output above.

Vulnerability Number

V-260641

Documentable

False

Rule Version

UBTU-22-654195

Severity Override Guidance

Verify Ubuntu 22.04 LTS generates audit records showing start and stop times for user access to the system via the "/var/log/btmp" file by using the following command:

$ sudo auditctl -l | grep '/var/log/btmp'
-w /var/log/btmp -p wa -k logins

If the command does not return a line matching the example or the line is commented out, this is a finding.

Note: The "-k" value is arbitrary and can be different from the example output above.

Check Content Reference

M

Target Key

5594