Configure the db2auth_key.txt


This is the file that the plug-in gathers information about where to get the authorization data from. It also gets group name to set SYSADM to, as well as the user name (and password in some cases) of the administrator.

Steps:

  1. Make a copy of the db2auth_key.txt.empty file, and rename it as db2auth_key.txt.

  2. Open the db2auth_key.txt file. You should see two sample configuration lines:
    This configuration follows the format:
    [name of (remote or local) db to store authorization info] [SYSADM admin group name] [admin user ID] ([admin password (only for remote db)])

  3. Copy the appropriate sample line, and replace it with names of your choice (and without the # sign). The admin user ID should be the name with the necessary authorization, as verified in step three.