The MAKECREDENTIALS utility enables you to encrypt credentials which eliminates the need to explicitly specify credentials (for example, as part of the IOHSTRING attribute). You can create a credentials file for each system for which you have remote access. You can also use the MAKECREDENTIALS utility to create a default credentials file.
The MAKECREDENTIALS utility is a simple, command-mode utility that requires the following login credentials for a network host:
-
<host>
-
<user name>
-
<password>
-
(optional) <user domain>
For more information on each login credential, see the following descriptions.
<host>
The <host> value is the domain name, IP address, or NETBIOS name of the remote host and is used to create the credentials file name. When the credentials file used by the REDIRSUPPORT IOHANDLER library, the <host> value must identify the remote host. For other functions that use the credentials file, the <host> value can be a more generic name (for example, the Windows domain name where the user is defined).
A <host> value of * (asterisk) creates a default credentials file to be used if a credentials file cannot be located when using the host name.
<user name>
The user name to be authenticated on the remote host.
<password>
The password for the specified <user name>. If the CASESENSITIVEPW security option is reset, a mixed-case password must be entered within quotation marks (").
<user domain>
The user log-on domain name in which the user is defined. For a local user, the <user domain> value is optional.