How to stop and disable auditd on RHEL 7

How to stop and disable auditd on RHEL 7?

Solution Verified - Updated -


Red Hat Enterprise Linux 7


Disclaimer: Links contained herein to external website(s) are provided for convenience only. Red Hat has not reviewed the links and is not responsible for the content or its availability. The inclusion of any link to an external website does not imply endorsement by Red Hat of the website or their entities, products or services. You agree that Red Hat is not responsible or liable for any loss or expenses that may result due to your use of (or reliance on) the external site or content.

How to stop and disable auditd on RHEL 7?


Disable auditd temporarily (this will disable logging instantly but will not survive a reboot):

auditctl -e0

Disable auditd permanently (this will require a reboot):

systemctl disable auditd


[root@dhcp182-79 ~]# auditctl -s
enabled 0     # <----- this means that auditd logging is disabled
failure 1
pid 478
rate_limit 0
backlog_limit 64
lost 0
backlog 0
loginuid_immutable 0 unlocked

Root Cause

auditd documentation

man auditd
       -e [0..2]
              Set  enabled  flag.  When  0  is passed, this can be used to temporarily disable
              auditing. When 1 is passed as an argument, it will enable auditing. To lock  the
              audit configuration so that it can't be changed, pass a 2 as the argument. Lock‐
              ing the configuration is intended to be the last command in audit.rules for any‐
              one  wishing  this feature to be active. Any attempt to change the configuration
              in this mode will be audited and denied. The configuration can only  be  changed
              by rebooting the machine.
5 (1)
Article Rating (1 Votes)
Rate this article
There are no attachments for this article.
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
Configuring VLAN interfaces in Linux
Viewed 2185 times since Mon, May 21, 2018
HowTo: Find Out Hard Disk Specs / Details on Linux
Viewed 879 times since Mon, Jan 28, 2019
Linux - How to shutdown or reboot
Viewed 628 times since Fri, Jun 8, 2018
RHEL: Manually encrypting a filesystem with LUKS
Viewed 1368 times since Sun, May 27, 2018
Linux / UNIX: DNS Lookup Command
Viewed 756 times since Sun, Sep 30, 2018
Odpalenie polecenia tylko na jedną godzinę
Viewed 1085 times since Thu, May 24, 2018
Secure Secure Shell
Viewed 656 times since Fri, Aug 21, 2020
List DNS records, nameservers of a domain from command line
Viewed 664 times since Sun, Sep 30, 2018
logrotate Log Rotate Configuration
Viewed 917 times since Sun, Jan 12, 2020
Split and Reassemble files
Viewed 1224 times since Mon, May 28, 2018