HP-UX Reference (11i v3 07/02) - 1M System Administration Commands A-M (vol 3)

g
getrules(1M) getrules(1M)
Security Restrictions
The user invoking this command must have one of the following authorizations:
hpux.security.xsec.secrules.unrestricted
hpux.security.xsec.secrules.restricted
See authadm(1M)).
RETURN VALUE
getrules returns the following values:
0 Successful completion. The rules are displayed.
>0 An error occurred. An error can be caused by an invalid option or because the user does not
have permissions to perform the operation.
EXAMPLES
Example: Display all file system rules for the compartment named web:
# getrules -f web
Sample output:
Compartment Name: web : sealed
Disallowed Privileges: POLICY
File System Rules:
------------------
PERMISSION PATHNAME
read, write, create, unlink /
SEE ALSO
cmpt_tune(1M), setrules(1M), compartments(4), compartments(5), privileges(5).
HP-UX 11i Version 3: February 2007 2 Hewlett-Packard Company 285