HP-UX SNAplus2 NOF Programmer's Guide

NOF API Verbs (ACTIVATE_SESSION to OPEN_FILE)
DEFINE_RCF_ACCESS
Chapter 3 367
DEFINE_RCF_ACCESS
DEFINE_RCF_ACCESS specifies access to the SNAplus2 Remote
Command Facility (RCF): the user ID used to run HP-UX Command
Facility (UCF) commands, and the restrictions on which administration
commands can be issued using the Service Point Command Facility
(SPCF). For more information about SPCF and UCF, see the HP-UX
SNAplus2 Administration Guide. You can use this verb to permit access
to both SPCF and UCF, or to only one of them.
This verb must be issued to the domain configuration file; it can be used
to specify the RCF access for the first time, or to modify an existing
definition. SNAplus2 acts on these parameters during node startup; if
these parameters are changed while a node is running, the changes do
not take effect on the server where the node is running until the node is
stopped and restarted.
VCB Structure
typedef struct define_rcf_access
{
AP_UINT16 opcode; /* Verb operation code */
unsigned char reserv2; /* reserved */
unsigned char format; /* reserved */
AP_UINT16 primary_rc; /* primary return code */
AP_UINT32 secondary_rc; /* secondary return code */
unsigned char ucf_username[32]; /* UCF username */
AP_UINT32 spcf_permissions; /* SPCF permissions */
} DEFINE_RCF_ACCESS;
Supplied Parameters
The application supplies the following parameters:
opcode
AP_DEFINE_RCF_ACCESS
ucf_username