HP UX Internet and Networking Software manual Queryrcfaccess, Supplied Parameters

Models: UX Internet and Networking Software

1 651
Download 651 pages 11.83 Kb
Page 515
Image 515

Administration Commands

query_rcf_access

The list_options parameter was set to LIST_INCLUSIVE to list all entries starting from the supplied name, but the value specified in the pu_name parameter was not valid.

State Check

If the command does not execute because of a state error, SNAplus2 returns the following parameters:

primary_rc

STATE_CHECK

secondary_rc

INVALID_PU_TYPE

The PU specified by the pu_name parameter is a remote PU and not a local PU.

Other Conditions

Appendix A, Common Return Codes from snapadmin Commands, lists additional combinations of primary and secondary return codes that are common to all commands.

2.162 query_rcf_access

The query_rcf_access command returns information about the permitted access to the SNAplus2 Remote Command Facility (RCF): the user ID used to run UNIX Command Facility (UCF) commands, and the restrictions under which administration commands can be issued using the Service Point Command Facility (SPCF). This information was previously defined using define_rcf_access. For more information about SPCF and UCF, refer to the HP-UX SNAplus2 Administration Guide.

Because RCF access parameters are defined as domain resources, this command is not associated with a particular node.

2.162.1 Supplied Parameters

[query_rcf_access]

No parameters are supplied for this command.

2.162.2 Returned Parameters

Parameter name

Type

Length

ucf_username

character

31

spcf_permissions

constant

 

If the command executes successfully, SNAplus2 returns the following parameters:

ucf_username

Specifies the HP-UX user name of the UCF user. All UCF commands are run using the user ID for this user, with the default shell and access permissions defined for this user.

If this parameter is not set, UCF access is denied.

spcf_permissions

Specifies the types of SNAplus2 administration commands that can be accessed using SPCF. To prevent access to SPCF, set this parameter to NONE. To allow access to SPCF, set this parameter to one or more of the following values (combined using a + character):

515

Page 515
Image 515
HP UX Internet and Networking Software manual Queryrcfaccess, Supplied Parameters