Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ dg_has_cap_of(1) — DG/UX R4.11MU05

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

secconfig(1)



dg_has_cap_of(1)         DG/UX B2 Security R4.12MU02        dg_has_cap_of(1)


NAME
       dghascapof - check the capabilities of a process

SYNOPSIS
       dghascapof event

   where:
       event  An event name

DESCRIPTION
       The dghascapof command takes an event name and determines if the
       calling process has the capabilities to perform that event.

EXAMPLES
       The following is an example using dghascapof:

       if dghascapof DGETCMDACCT > /dev/null
       then
          # process has needed capability
          # continue with execution
       else
          exit 2
       fi

DIAGNOSTICS
       Returns

       0      if the process has the needed capabilities

       1      if the process does not have the needed capabilities or if the
              event_name is invalid

SEE ALSO
       dgcvteventtocap(1), secconfig(1).


Licensed material--property of copyright holder(s)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026