Description
The ARSSTASH command is used to create and modify the stash file. Storing passwords in a stash file can help you improve security because you do not need to specify the password on the command line, where the password might be visible to others.
Important: You must have a locale set in your user profile before issuing this API. See
the topic titled "Defining a locale" in the IBM® Content Manager OnDemand for
i Planning and
Installation Guide for important details.
You can store the user
ID and password for the following situations in one stash file:
- Each Content Manager OnDemand instance
- Each Content Manager OnDemand program that runs as a daemon or service (for example, ARSLOAD)
You store the stash file in a directory and specify that full path name in the SRVR_OD_STASH parameter of the ARS.INI file. The Content Manager OnDemand programs locate the stash file by using that path. If you need to override the user ID and password stored in the stash file, create a stash file and store it in a directory where you run a Content Manager OnDemand program. For security reasons, limit access to the file through file permissions or delete it when you no longer need it.
To store the user IDs and passwords into a stash file, complete the following steps:
- Create a stash file by running the ARSSTASH command. The command prompts you for the password.
- Save the stash file in a directory and limit access to that file through file permissions.