audswitch man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

audswitch(2)							  audswitch(2)

NAME
       audswitch() - suspend or resume auditing on the current process

SYNOPSIS
DESCRIPTION
       suspends	 or resumes auditing within the current process.  This call is
       restricted to users with the privilege.

       One of the following flags must be used for aflag:

	  Suspend auditing on the current process.

	  Resume auditing on the current process.

       can be used in processes with  the  privilege  to  temporarily  suspend
       auditing	 during	 intervals  where  auditing  is	 to  be handled by the
       process itself.	Auditing is suspended by a call to with the  parameter
       and resumed later by a call to with the parameter.

       An  call to resume auditing serves only to reverse the action of a pre‐
       vious call to suspend auditing.	A call	to  to	resume	auditing  when
       auditing is not suspended has no effect.

       affects only the current process.  For example, cannot suspend auditing
       for processes from the current process.	(Use  (see  setaudproc(2))  to
       enable or disable auditing for a process and its children).

   Security Restrictions
       Some or all of the actions associated with this system call require the
       privilege.  Processes owned by the superuser have this privilege.  Pro‐
       cesses  owned by other users may have this privilege, depending on sys‐
       tem configuration.  See privileges(5) for more information about privi‐
       leged access on systems that support fine-grained privileges.

RETURN VALUE
       Upon successful completion, returns If an error occurs, is returned and
       the global variable is set to indicate the error.

ERRORS
       fails if one of the following is true:

       The user does not possess the
		      privilege.

       The input parameter is neither
		      nor

AUTHOR
       was developed by HP.

SEE ALSO
       audevent(1M), audusr(1M), setaudproc(2), audit(5), privileges(5).

								  audswitch(2)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net