4 lines
168 B
Bash
4 lines
168 B
Bash
#!/usr/bin/env bash
|
|
{
|
|
find /etc/audit/ -type f \( -name '*.conf' -o -name '*.rules' \) -exec stat -Lc "%n %a" {} + | grep -Pv -- '^\h*\H+\h*([0,2,4,6][0,4]0)\h*$'
|
|
} |