Skip to content

Instantly share code, notes, and snippets.

@koheyamada
Last active April 7, 2016 13:01
Show Gist options
  • Save koheyamada/45da9f4899b6f63f0f29 to your computer and use it in GitHub Desktop.
Save koheyamada/45da9f4899b6f63f0f29 to your computer and use it in GitHub Desktop.
auditについてインストールと簡単な利用方法のメモ。 ref: http://qiita.com/kooohei/items/a802af9073dbeec6823e
$ sudo auditctl -l
LIST_RULES: exit,always arch=3221225534 (0xc000003e) watch=/etc/resolv.conf syscall=open
$ sudo apt-get install auditd
$ sudo yum install audit
$ sudo auditctl -d exit,always -F arch=b64 -S open -F path=/etc/resolv.conf
$ sudo auditctl -l
No rules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment