rsrc create
Creates and names a web server single sign-on resource.
Requires authentication (administrator ID and password) to use.
rsrc create resource_name [-desc description]
A web resource is a web server that serves as the back-end of a WebSEAL GSO-enabled junction. The web resource name must be specified with the -T option when the GSO-enabled WebSEAL junction is created.
Options
- -desc description
- Specifies a description for the resource. Descriptions containing a space must be enclosed in double quotation marks. (Optional)
A valid description is an alphanumeric string that is not case-sensitive. String values are expected to be characters that are part of the local code set. If the description contains a space, enclose the description in double quotation marks.
Examples of descriptions are “Engineering Web server - Room 4807” and “Printer in room 345, Bldg 2”.
- resource_name
- Name of the resource to be created.
A valid resource name is an alphanumeric string that is not case-sensitive. If the resource is a GSO resource, certain characters are not allowed. See Characters disallowed for GSO names for the list of these characters.
Examples of resource names are engwebs01 and JonesData.
Return codes
- 0
- The command completed successfully.
- 1
- The command failed. When a command fails, the pdadmin command provides a description of the error and an error status code in hexadecimal format (for example, 0x14c012f2). See "Error messages" in the IBM Knowledge Center. This reference provides a list of the ISAM error messages by decimal or hexadecimal codes.
Examples
- This example creates and names a web resource engwebs01 with an associated description "Engineering Web server - Room 4807":
pdadmin sec_master> rsrc create engwebs01 -desc "Engineering Web server - Room 4807"
- This example creates and names a printer resource "Mary Jones Printer" with an associated description "Printer in room 345, Bldg 2":
pdadmin sec_master> rsrc create "Mary Jones Printer" -desc "Printer in room 345, Bldg 2"
See also
Parent topic: pdadmin commands