Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > A


HP-UX 11i Version 3: February 2007

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index


audusr — select users to audit


audusr [[-a user] ...] [[-d user] ...] [-A|-D]


audusr is used to specify users to be audited or excluded from auditing. The audusr command only works for systems that have been converted to trusted mode.

To select users to audit on systems that have not been converted to trusted mode, use the userdbset command. See also audit(5), userdbset(1M), userdb(4), and AUDIT_FLAG in security(4).

If no arguments are specified, audusr displays the audit setting of every user. audusr is restricted to privileged users.


audusr recognizes the following options:

-a user

Audit the specified user. The auditing system records audit records to the ``current'' audit file when the specified user executes audited events or system calls. Use audevent to specify events to be audited (see audevent(1M)).

-d user

Do not audit the specified user.


Audit all users.


Do not audit any users.

The -A and -D options are mutually exclusive: that is, if -A is specified, -d cannot be specified; if -D is specified, -a cannot be specified.

Users specified with audusr are audited (or excluded from auditing) beginning with their next login session, until excluded from auditing (or specified for auditing) with a subsequent audusr invocation. Users already logged into the system when audusr is invoked are unaffected during that login session; however, any user who logs in after audusr is invoked is audited or excluded from auditing accordingly.


HP-UX 11i Version 3 is the last release to support trusted systems functionality.


audusr was developed by HP.



File containing flags to indicate whether users are audited.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.