CL Command Reference - ADDSVRAUTE
CL Command List > ADDSVRAUTE Reference
Description:
The Add Server Authentication Entry (ADDSVRAUTE) command adds authentication information for use by application requesters in connecting to application servers.
When using the ADDSVRAUTE command to add a server authorization entry for a Distributed Relational Database Architecture (DRDA) application that uses TCP/IP, make sure that the server name is entered in upper case.
Restrictions: You must have security administrator (*SECADM) special authority, and object management (*OBJMGT) and use (*USE) authorities to the user profile to which the server authentication entry is to be added, or else be signed on under that user profile, to run this command.
Examples:
Example 1: Adding a default remote user ID and password for the current user
ADDSVRAUTE USRPRF(*CURRENT) SERVER(*ANY) USRID(¡¯JOHN¡¯)
PASSWORD(¡¯XU53W4¡¯)
This command adds a server authentication entry for the currently signed on user specifying that for connection requests to any server for which there is no specific authentication entry, a remote user ID of JOHN and a password of XU53W4 is to be used.
Example 2: Adding an entry for another user for a specific server
ADDSVRAUTE USRPRF(SUSAN) SERVER(¡¯MPLS_RDB¡¯) USRID(¡¯SUSIE¡¯)
PASSWORD(¡¯S23084¡¯)
This command adds an entry such that when a user is signed on to the local system under the user profile of SUSAN and attempts to connect to the server named MPLS_RDB, the user ID and password accompanying the connection request will be SUSIE and S23084.