dg_cvt_event_to_cap(1) DG/UX B2 Security R4.12MU02 dg_cvt_event_to_cap(1)
NAME
dgcvteventtocap - convert an event to its associate capabilities
SYNOPSIS
dgcvteventtocap event
where:
event An event name or an event number
DESCRIPTION
The dgcvteventtocap command takes either an event name or an
event number, and prints on stdout the names of the capabilities that
are needed to execute that event.
EXAMPLES
The following is an example using dgcvteventtocap:
capstr=`dgcvteventtocap DGETCMDMKNOD`
echo "Capability $capstr is needed to execute event DGETCMDMKNOD"
DIAGNOSTICS
Returns
0 if the event name or event number was valid and the capability
names were printed
1 if the event name or event number is invalid
2 if the event name or event number is valid, but its associated
capabilities could not be determined for any reason.
SEE ALSO
dghascapof(1).
Licensed material--property of copyright holder(s)