i am using
files to generate the
which has 120 lines.
But if i run
i get only 14 lines as a result though.
Why is this happening ?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
You need to execute
This is an executable script that goes over the rules you have in rules.d and compiles them into a single valid file.
For that reason, you should also make sure that all the files in rules.d end with a new line. Otherwise, the resulting file will have a invalid rules.
You may not have that script if you are using an older version of auditd. But in fact, it is just a script, and you can take it from a newer version of auditd and place it somewhere in the path. Although, I would not recommend it, instead, if that is the case, you should upgrade auditd to a newer version.