It's a type of Planche
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 satır
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.