Auditing a dir in linuxAnju·FollowAug 17, 2021--ListenShareEdit the file /etc/audit/rules.d/audit.rules:-a exit,always -F path=/etc/<dir_name -F perm=warx -F key=dir-watchRestart the service:service auditd restart#systemctl stop/start will not workCheck the audit:ausearch -k dir-watch