Troubleshooting
Problem
Three Methods by which to bypass GUI sign on using IBM i Access Client Solutions.
Resolving The Problem
This document will discuss 3 methods for bypassing the IBM i Access Client Solutions (IBM i ACS) credential prompt by making the USER ID and PASSWORD available before IBM i ACS is launched.
Note: The first two methods are not secure with the User name and Password being passed in plain text. The third method is Single Sign where the User Name and Password would be encrypted.
1) The first method would be the use of writing a batch file on the PC that would cache the USER ID and PASSWORD startup.
From Getting Started Guide Section 9.1.8 Logon
/PLUGIN=logon /SYSTEM=<system> [/USERID=<userid>]
[/PASSWORD=<password>] [/AUTH] [/C] [/GUI=<1|0>]
/SYSTEM - name of system
/USERID - user id
/PASSWORD - password associated with the user id
/AUTH - attempts connect to system with specified logon
credentials - and only caches them on success
/C - clears the cache
/GUI - whether or not a graphical user interface can be used
An example of this would look something like this:
acslaunch_win-32.exe /plugin=logon /SYSTEM=RCH720A /userid=johndoe
/PASSWORD=havingfun
This example below would clear the cache:
acslaunch_win-32.exe /plugin=logon /SYSTEM=RCH770A /userid=johndoe /C
These examples would have to be ran from the directory where either the
acslaunch_win-32.exe or the acslaunch_win-64.exe reside.
2) The second method would be using the Netrc file.
From the GettingStarted Guide Section 9.11 Using Credentials from a netrc File
To enable the usage of a .netrc file (Linux and Mac) or a _netrc file
(Windows), go to the IBM i Access Client Solutions main GUI and from the
menu bar, select
Edit->Preferences
General tab
Check the box: Read netrc file for login information
Click the Apply button
Restart IBM i Access Client Solutions
The standard format of a netrc file is:
machine <system> login <user-id> password <password>
The netrc file must be stored in the user's home path and the system name and user-id must match System Configurations. To determine the home path for the user, from a Windows Command Prompt, issue the SET command and locate the HOMEPATH value.
From IBM i Access Client Solutions:
Select System Configurations
Select and then Edit the system
Connections tab
Select Use default user name to prompt once for each system
Fill in the user-id for: Default user name
Select OK
3.) The third method is using Single Sign On (SSO).
Related Information
Was this topic helpful?
Document Information
Modified date:
12 March 2020
UID
nas8N1022515