Behaviour of /etc/audit/rules.d in RHEL5 and RHEL6.
Issue
- Does
/etc/audit/rules.ddirectory exists in RHEL5 - Does audit read rules inside
/etc/audit/rules.don Red Hat Enterprise Linux 5? /etc/audit/rules.ddirectory exists in RHEL6. so does any rules placed in files in/etc/audit/rules.d
directory be read by auditd daemon?- Is there a way to prevent auditd from reading the files places in
/etc/audit/audit.ddirectory? - If there are multiple files in
/etc/audit/rules.d,in which sequence would auditd reads the files placed in that directory? based on alphanumeric order? e.g. files with file names starting with "a" would be read before files with filen ames starting with "b"? files with filenames starting with "0" would be read before files with file names starting with "1"? - In RHEL6, if i place my audit rules in
/etc/audit/audit.rulesand the/etc/audit/audit.d/audit.rulesfile contains "-D" as the first line. Does that mean that all the rules in/etc/audit/audit.rulesare ignored by auditd ? Or does it mean that all rules placed before "-D" within the same file are ignored?
Environment
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Auditd
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
