privrun.1m (2011 03)

p
privrun(1M) privrun(1M)
# privrun -c testcomp /sbin/bar
If an /etc/rbac/cmd_priv
entry exists for the command
/sbin/bar with the compartment
specified as
testcomp, then the command
/sbin/bar will be executed in the testcomp compart-
ment. If this entry does not exist, (even if an entry for
/sbin/bar appears with different compartment
specification), the
privrun command fails and prints an error message.
FILES
/etc/rbac/roles
Database containing valid definitions of all roles.
/etc/rbac/auths
Database containing definitions of all valid authorizations.
/etc/rbac/user_role
Database specifying the roles for each specified user.
/etc/rbac/role_auth
Database defining the authorizations for each role.
/etc/rbac/cmd_priv
Database defining the authorization information needed to execute com-
mands and and edit files under access control.
SEE ALSO
authadm(1M), cmdprivadm(1M), cmpt_tune(1M), rbacdbchk(1M), roleadm(1M), compartments(5),
privileges(5), rbac(5).
4 Hewlett-Packard Company 4 HP-UX 11i Version 3: March 2011