Remote Execution Job fails on french OS unix machine.

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

When running a Remote Execution Job to an Unix/Linux box that has a French OS installed, then the job fails to login and execute the job.

We see in the transmitter log, the following error message:

"Logon failed due to timeout. Last response is Mot de passe de <userid> : "

where <userid> is filled in with the userid being used.

Environment:
System Agent 11.3 with proxy plugin enabled.French OS system , but can be also with other non-english OS.
Cause:

The system agent opens a telnet session to this remote machine and looks for the word "ogin:" (from Login or login) so that the userid can be send followed then by entering the password.

On a French OS it is not "login:" but "connexion:".
Also it is not "<userid>'s Password:" but rather "Mot de passe de <userid> :".

Resolution:

You need to modify the <hostname>.properties file under the <install_dir_system_agent>/config/proxy directory.

Add following lines :

loginTask.1.startPrompt=.*
loginTask.1.startPromptRegex=true
loginTask.1.endPrompt=Mot de passe.*
loginTask.1.endPromptRegex=true
loginTask.1.command={user.id}

loginTask.2.startPrompt=Mot de passe.*
loginTask.2.startPromptRegex=true
loginTask.2.endPrompt=.*
loginTask.2.endPromptRegex=true
loginTask.2.command={user.password}

Recycle the system agent.

Additional Information:

You can find more information here: Override System Properties