1.219 RHEL-10-500640

Information

RHEL 10 must generate audit records for successful and unsuccessful uses of the "reboot" command.

GROUP ID: V-281150RULE ID: SV-281150r1166402

Misuse of the "reboot" command may cause system availability issues.

Solution

Configure RHEL 10 to generate audit records upon successful and unsuccessful uses of the "reboot" command by adding or updating the following rule in the "/etc/audit/rules.d/audit.rules" file:

-a always,exit -F path=/usr/sbin/reboot -F perm=x -F auid>=1000 -F auid!=unset -k privileged-reboot

Restart the audit daemon with the following command for the changes to take effect:

$ sudo service auditd restart

See Also

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