HP-UX Event ManagerAdministrator's Guide

Configuring Event Manager
Event Authorization
Chapter 374
By default, all events are protected. Event rights are granted by
supplying, for each event class, a list of users who have the specified
right or who are explicitly denied rights. A plus sign (+) that is not
followed by a user list implicitly grants the right to all users. A minus
sign (-) that is not followed by a user list implicitly denies the right to all
users. The superuser has implicit posting and access rights to all events
unless explicitly denied them. Example 3-4 shows sample entries in an
authorization file. For more information, see evm.auth (4) .
Example 3-4 Sample Authorization File Entries
# ===================
# EVENTS
# ===================
/* Only the root user can post the class of events that have
names beginning with sys.unix.evm.control. Such events are
accessible by all users. The @SYS_VP@ entry is a macro that
is replaced with sys.unix when the file is read.
*/
event_rights {
class @SYS_VP@.evm.control # EVM control events
post root
access +
}
/* Only the root user can post the class of events that have
names beginning with sys.unix.evm.msg.admin. Such events can
be accessed by root or other users in the admin group
. */
event_rights {
class @SYS_VP@.evm.msg.admin # EVM admin message
post root
access "root, group=adm"
}
/* All users can post or access the class of events that have
names beginning with sys.unix.evm.msg.user
. */
event_rights {
class @SYS_VP@.evm.msg.user # EVM user message
post +
access +
}
# ===================
# SERVICES
# ===================
/* All users can execute the event_get service. */
service_rights {