CL Command Reference - CHGSVRAUTE
CL Command List > CHGSVRAUTE Reference
Description:
The Change Server Authentication Entry (CHGSVRAUTE) command changes existing authentication information entries for a user profile. The authentication information is for use by application requesters in connecting to application servers.
Restrictions: You must have security administrator (*SECADM) special authority, and object management (*OBJMGT) and use (*USE) authorities to the user profile for which the server authentication entry is to be changed, or else be signed on under that user profile, to run this command.
Examples:
Example 1: Changing a default remote user ID and password for the current user
CHGSVRAUTE USRPRF(*CURRENT) SERVER(*ANY) USRID(¡¯JOHN¡¯)
PASSWORD(¡¯XU53W4¡¯)
This command changes 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: Changing an entry for another user for a specific server
CHGSVRAUTE USRPRF(SUSAN) SERVER(¡¯MPLS_RDB¡¯) USRID(*SAME)
PASSWORD(¡¯S23084¡¯)
This command changes the password for the user SUSAN when connecting to the server named MPLS_RDB.