MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


System Administration Commands                         auditd(1M)



NAME
     auditd - audit daemon

SYNOPSIS
     /usr/sbin/auditd


DESCRIPTION
     The audit daemon, auditd, controls the generation and  loca-
     tion  of audit trail files and the generation of syslog mes-
     sages based  on  the  definitions  in  auditcontrol(4).  If
     auditing  is enabled, auditd reads the auditcontrol file to
     do the following:

         o    reads the path to a  library  module  for  realtime
              conversion of audit data into syslog messages;

         o    reads other parameters  specific  to  the  selected
              plugin or plugins;

         o    obtains a list  of  directories  into  which  audit
              files can be written;

         o    obtains the percentage limit for how much space  to
              reserve  on  each filesystem before changing to the
              next directory.


     audit(1M) is used to control auditd. It can cause auditd to:

         o    close the current audit file and open a new one;

         o    close   the    current    audit    file,    re-read
              /etc/security/auditcontrol  and  open  a new audit
              file;

         o    close the audit trail and terminate auditing.

  Auditing Conditions
     The audit daemon invokes the  program  auditwarn(1M)  under
     the following conditions with the indicated options:

     auditwarn soft pathname

         The file system upon which pathname resides has exceeded
         the    minimum    free    space    limit    defined   in
         auditcontrol(4). A new audit trail has been  opened  on
         another file system.


     auditwarn allsoft




SunOS 5.11          Last change: 29 Apr 2008                    1






System Administration Commands                         auditd(1M)



         All available file systems have been filled  beyond  the
         minimum  free  space  limit.  A new audit trail has been
         opened anyway.


     auditwarn hard pathname

         The file system upon which pathname resides  has  filled
         or for some reason become unavailable. A new audit trail
         has been opened on another file system.


     auditwarn allhard count

         All available file systems have been filled or for  some
         reason  become unavailable. The audit daemon will repeat
         this call to auditwarn at intervals of at least  twenty
         seconds  until  space  becomes  available.  count is the
         number of times that auditwarn has  been  called  since
         the problem arose.


     auditwarn ebusy

         There is already an audit daemon running.


     auditwarn tmpfile

         The file /etc/security/audit/audittmp exists,  indicat-
         ing a fatal error.


     auditwarn nostart

         The internal  system  audit  condition  is  AUCFCHDONE.
         Auditing cannot be started without rebooting the system.


     auditwarn auditoff

         The internal system audit condition has been changed  to
         not be AUCAUDITING by someone other than the audit dae-
         mon. This causes the audit daemon to exit.


     auditwarn postsigterm

         An error occurred during the  orderly  shutdown  of  the
         auditing system.





SunOS 5.11          Last change: 29 Apr 2008                    2






System Administration Commands                         auditd(1M)



     auditwarn getacdir

         There is a  problem  getting  the  directory  list  from
         /etc/security/audit/auditcontrol.

         The audit daemon will hang in a sleep  loop  until  this
         file is fixed.


FILES
     /etc/security/audit/auditcontrol

ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Availability                 SUNWcsu                     
    
     Interface Stability          Committed                   
    


SEE ALSO
     audit(1M), auditwarn(1M), bsmconv(1M),  praudit(1M),  audi-
     ton(2), audit.log(4), auditcontrol(4), attributes(5)


     See the section on Solaris Auditing in System Administration
     Guide: Security Services.

NOTES
     The functionality described in this man  page  is  available
     only  if  the Solaris Auditing feature has been enabled. See
     bsmconv(1M) for more information.


     auditd is loaded in the global zone at boot time if auditing
     is enabled. See bsmconv(1M).


     If the audit policy perzone is  set,  auditd  runs  in  each
     zone, starting automatically when the local zone boots. If a
     zone is running when the perzone  policy  is  set,  auditing
     must be started manually in local zones. It is not necessary
     to reboot the system or the local zone to start auditing  in
     a  local  zone.  auditd can be started with "/usr/sbin/audit
     -s" and will start automatically with future  boots  of  the



SunOS 5.11          Last change: 29 Apr 2008                    3






System Administration Commands                         auditd(1M)



     zone.


     When auditd runs in a local zone, the configuration is taken
     from  the  local  zone's  /etc/security  directory's  files:
     auditcontrol, auditclass, audituser,  auditstartup,  and
     auditevent.


     Configuration changes do not affect audit sessions that  are
     currently  running, as the changes do not modify a process's
     preselection mask. To change the preselection mask on a run-
     ning  process,  use  the -setpmask option of the auditconfig
     command (see auditconfig(1M)). If the user logs out and logs
     back  in, the new configuration changes will be reflected in
     the next audit session.







































SunOS 5.11          Last change: 29 Apr 2008                    4



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™