Create and Customize an IBM iSystem (AS/400) Template to use the new IBM iSeries (AS/400) Password Changer
The IBM iSeries (AS/400) Terminal password changer is based on the z/OS Mainframe password changer. It uses the 5250 terminal connection and scripting to perform the password change and heartbeat. You can modify the script for any advanced configuration requirements, and Delinea Professional Services is available to help you.
Create an AS/400 Secret Template
-
Navigate to Admin > Secret Templates.
-
On the Manage Secret Templates page, select the z/OS Mainframe template from the drop-down list.
-
Click the Edit button.
-
On the Secret Template Designer page, click the Copy Secret Template button.
-
On the popup page, type
IBM iSeries (AS400)
in the Name text box. -
Click the OK button.
-
On the confirmation page, click the Continue button.
Optional: on the Secret Template Designer page, you can deactivate the Passphrase field by clicking the deactivate icon to the right of the Passphrase row. Unlike the z/OS, the iSeries does not need an additional passphrase and will not have an option for it unless adjusted. Unless your environment specifically requires the passphrase text-entry field, we recommend deactivating it.
Modify Your AS/400 Secret Template to use the AS/400 Password Changer
-
On the Secret Template Designer page, click the Configure Password Changing button.
-
On the Secret Template Edit Password Changing page, click the Edit button. The page becomes editable.
-
Next to Password Type to Use, click the drop-down list and select IBM iSeries Mainframe.
-
Make required changes, if any, to the text boxes and lists.
-
Click the Save button. The page is no longer editable.
-
Click the Back button.
-
On the Secret Template Designer page, create secrets based on the new template as desired.
Customize Your AS/400 Password Changer for Your Environment
-
Navigate to Admin > Remote Password Changing.
-
Click the Configure Password Changers button.
-
On the Password Changer Configuration page, click the IBM iSeries Mainframe link.
-
On the IBM iSeries Mainframe page, scroll to the bottom and click Edit.
-
On the Edit Password Changer page, adjust ports and other parameters as desired.
-
Click the Save button.
TRACE
to the connection string.Additional Functions, Adjustments, and Parameters
For unique IBM iSeries environments, the IBM iSeries password changer offers extra features, options, adjustments and parameters for customization, including the commands in the table below. To implement these commands successfully, it helps to keep in mind that the password changer is emulating user input. Some of these commands are designed for very fine emulations of unique IBM iSeries environments, and Delinea Professional Services can help you with these. Other commands are implemented and tested on a base environment, so before implementing them in a production environment, you should verify that they are working as expected through testing or by using the trace function.
<ENTER>
command by default. To prevent this, you must add ##NOENTER
in the comment of the previous command. For example:Table: Secret Template Commands
Command | Action | Description or Example |
---|---|---|
<Backtab> | Tab to the previous input field. | |
<Clear> | Clear the screen. | Mostly used for trace. |
<Close> | End the session to the mainframe. | |
<Delete> | Delete a character under the cursor; can be used with <MoveCursor(#, #)> | |
<DeleteField> | Delete the entire text input or field. | |
<DeleteWord> | Delete the current word if available, otherwise delete the previous word. | |
<Disconnect> | Disconnect the password changer's connection to the mainframe. | |
<Down> | Move cursor down. | |
<Enter> | Send the Enter key press command. | |
<Erase> | Erase previous character on a selected text input. | <Erase> |
<EraseEOF> | Erase end-of-field of current text input. | <EraseEOF> |
<Execute( )> | Execute commands in shell. | <Execute(USRMGR)> |
<HexString( # )> | Insert a control character in a text field or string. | <HexString(41)> |
<Key( # )> | Execute named iSeries keys. | Execute unique keys via hex, character code, or key symbol. |
<Left> | Move cursor left. | |
<PF( # )> | Execute program function. | Program function keys 1 to 24 |
<PA( # )> | Execute program attention. | Program attention functions 1 to 3 |
<MoveCursor(#, #)> | Move the cursor by row and column. | <MoveCursor(10,2)> |
<Right> | Move cursor right. | |
<Tab> | Tab to the next line. | |
<Up> | Move cursor up. |
IBM iSeries Mainframe
Usernames and passwords can run into length issues during remote password changing and heartbeat. The issue stems from the behavior in the client; when a user logs in and enters a username of 10 characters, the client will auto-tab to the next field (the password field). The heartbeat and remote password changing process automatically inserts this tab, which can cause improper behavior in the headless client when the username or password is 10 characters.
This can be avoided by setting three properties on the Custom Commands for the IBM iSeries Mainframe password changer:
- Username Length Before AutoTab on Login
- Password Length Before AutoTab, Password Change
- New Password Length Before AutoTab, Password Change
Go to Remote Password Changing > Configure Password Changers > IBM iSeries Mainframe.
Typically, the console will auto-tab after 10 characters. If your environment behaves differently, note in the console how many characters are entered until auto-tab to the next field occurs, and enter that number into the proper field.