HP-UX Reference (11i v1 05/09) - 1M System Administration Commands A-M (vol 3)

a
audusr(1M) audusr(1M)
NAME
audusr - select users to audit
SYNOPSIS
audusr [[-a user ] ...] [[
-d user ] ...] [-A-D]
DESCRIPTION
audusr is used to specify users to be audited or excluded from auditing. If no arguments are specified,
audusr displays the audit setting of every user.
audusr is restricted to super-users.
Options
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.
-A Audit all users.
-D 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 ses-
sion, 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; how-
ever, any user who logs in after audusr is invoked is audited or excluded from auditing accordingly.
AUTHOR
audusr was developed by HP.
FILES
/tcb/files/auth/*/*
File containing flags to indicate whether users are audited.
SEE ALSO
audevent(1M), setaudproc(2), audswitch(2), audwrite(2). audit(5).
Section 1M86 Hewlett-Packard Company 1 HP-UX 11i Version 1: September 2005