HP-UX Reference (11i v3 07/02) - 1M System Administration Commands A-M (vol 3)
g
getprocxsec(1M) getprocxsec(1M)
cmpt= init
euid= zero
Example 2: Display the privilege sets and compartment of the parent process:
# getprocxsec -2
Sample output:
effective= BASIC
permitted= BASIC
retained= BASIC
cmpt= init
euid= zero
Example 3: Display the full privilege sets and compartment of an arbitrary process:
# getprocxsec -f 801
Sample output:
effective= FORK EXEC SESSION LINKANY
permitted= FORK EXEC SESSION LINKANY
retained= FORK EXEC SESSION LINKANY
cmpt= web
euid= non-zero
SEE ALSO
getfilexsec(1M), setfilexsec(1M), compartments(5), privileges(5).
280 Hewlett-Packard Company − 2 − HP-UX 11i Version 3: February 2007