It's a type of Planche
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

10 行
494B

  1. # Add a watch to the /etc/hosts file watching for (-p) reads, writes, executions,
  2. # and appends named (-k) hosts-file which can be uniquely used to identify the
  3. # audit records produced by this rule. Check the /var/log/audit/audit.log file
  4. # for matching events.
  5. sudo auditctl -w /etc/hosts -p rwxa -k hosts-file
  6. # To remove the rule later change the -w to -W with the rest of the command being
  7. # the same. If you want to list all rules auditctl -l will show you all rules
  8. # currently loaded.