It's a type of Planche
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

10 lines
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.