How can I export and import AutoSys NATIVE security user credentials?

Document ID : KB000044233
Last Modified Date : 14/02/2018
Show Technical Document Details

Introduction: 

For migration purposes, the ability to automate a process to export and import the super EDIT/EXEC in addition to user@host entries could prove beneficial especially if there are hundreds of NATIVE security mode users.

 

Question: 

How can I export and import AutoSys NATIVE security user settings?

 

Environment:  

This process is applicable to WAAE r11.3.5 and r11.3.6  

 

Answer: 

On the AutoSys server, ensure proper product initialization for command executions. For example, on Windows launch the AutoSys command prompt and for *NIX, source the environment.

Export:

1. To produce a list of SUPER EDIT users: autosys_secure -s -editu ALL > editu.log

2. To produce a list of SUPER EXEC users: autosys_secure -s -execu ALL > execu.log

3. To produce a list of users@host entries: autosys_secure -s -host ALL > hosts.log

 

Import:

Review all output information for accuracy with regard to user IDs and hosts/domain values. Each file will have to be modified by inserting the applicable command and parameters. The following are example entries for the applicable file.

1. SUPER EDIT

autosys_secure -a -editu userA@hostname
* for each exported SUPER EDIT credential entry
* ensure the entry matches. For example, user, user@host, or user@domain

2. SUPER EXEC

autosys_secure -a -execu userA@hostname
* for each exported SUPER EXEC credential entry
* ensure the entry matches. For example, user, user@host, or user@domain

3. USER@HOST

autosys_secure -a -u userA@hostname -p userApassword
* for each user@host entry
* ensure the entry matches. For example, user@host, or user@domain

4. Verify all users have been successfully added in autosys_secure

 

Additional Information:

1.    WAAE must be in NATIVE security mode.

 

2.    autosys_secure must be executed as a valid user.