IBM Support

How can the IBM i ACS credentials be cleared to authenticate as a different user?

Question & Answer


Question

With some functions of IBM i Access Client Solutions (IBM i ACS), like Run SQL Scripts, it may be desirable to run under a different IBM i USRPRF.  Opening a new Run SQL Scripts window will just authenticate with the same USRPRF.  How can this be cleared so a new USRPRF can be used to authenticate?
 

Cause

 The default IBM i Access Client Solutions (IBM i ACS) connection to an IBM i  behavior is to cache the IBM i credentials and re-use them for the duration of the workstation signon.  Rebooting the PC or logging off/on isn't always possible to clear the credentials.

Answer

The easiest solution is to configure the connection to prompt for credentials each time. Which is done as follows:
IBM i ACS main user interface --> System configurations --> Edit the correct system name --> Connection tab--> "Prompt for user name and password very time".
This will cause prompting for user and password credentials each time a connection is requested.

A more advanced option is to leave the IBM i ACS System Configuration at the default setting of "Use default user name to prompt once for each system", and manually clear the credentials when desired.

This requires calling IBM i ACS from a command interface.  To do that we have to know where IBM i ACS is running from.  From the IBM i ACS main user interface go to Help -> About and make note of path to the acsbundle.jar file in the 6th line.

Take the path to acsbundle.jar and replace that with a call to the Windows acslaunch executable passing it the syntax "/PLUGIN=main /clearpwcaches"

Here is an example of the full command syntax on Windows:

C:\Users\<WindowsUser>\IBM\ClientSolutions\Start_Programs\Windows_x86-64\acslaunch_win-64.exe /PLUGIN=maint /clearpwcaches

[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"7.3.0"}]

Document Information

Modified date:
14 September 2023

UID

ibm10957397