Editing Auditctl

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 9: Line 9:
  
 
  auditctl -A exit,always -S connect
 
  auditctl -A exit,always -S connect
 
<pre>
 
auditctl --help
 
usage: auditctl [options]
 
    -a <l,a>            Append rule to end of <l>ist with <a>ction
 
    -A <l,a>            Add rule at beginning of <l>ist with <a>ction
 
    -b <backlog>        Set max number of outstanding audit buffers
 
                        allowed Default=64
 
    -c                  Continue through errors in rules
 
    -C f=f              Compare collected fields if available:
 
                        Field name, operator(=,!=), field name
 
    -d <l,a>            Delete rule from <l>ist with <a>ction
 
                        l=task,exit,user,exclude
 
                        a=never,always
 
    -D                  Delete all rules and watches
 
    -e [0..2]          Set enabled flag
 
    -f [0..2]          Set failure flag
 
                        0=silent 1=printk 2=panic
 
    -F f=v              Build rule: field name, operator(=,!=,<,>,<=,
 
                        >=,&,&=) value
 
    -h                  Help
 
    -i                  Ignore errors when reading rules from file
 
    -k <key>            Set filter key on audit rule
 
    -l                  List rules
 
    -m text            Send a user-space message
 
    -p [r|w|x|a]        Set permissions filter on watch
 
                        r=read, w=write, x=execute, a=attribute
 
    -q <mount,subtree>  make subtree part of mount point's dir watches
 
    -r <rate>          Set limit in messages/sec (0=none)
 
    -R <file>          read rules from file
 
    -s                  Report status
 
    -S syscall          Build rule: syscall name or number
 
    -t                  Trim directory watches
 
    -v                  Version
 
    -w <path>          Insert watch at <path>
 
    -W <path>          Remove watch at <path>
 
    --loginuid-immutable  Make loginuids unchangeable once set
 
    --backlog_wait_time  Set the kernel backlog_wait_time
 
    --reset-lost        Reset the lost record counter
 
</pre>
 
  
  

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Advertising: