Public bug reported:

I am trying to automate installing the Teradata database.

The tdvm_init process (a python executable, not that it matters),
prompts for a password using the following line of text

"Please enter the Root Password if it has been changed by the user.
Press Enter to use the default Password:"

sshpass sees the text 'assword' and interprets it as meaning that the
password provided to sshpass was not accepted and terminates.

I guess this probably falls into the grey area between bug and ER. My
suggestion would be to add a flag that tells ssh to stop monitoring for
the 'assword' string after the first occurrence of the string has been
detected.

** Affects: sshpass (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

- sshpass  terminates  when running a remote script if the scroipt uses the 
word 'assword'
+ sshpass  terminates  when running a remote script if the script executes a 
program that outputs the text'assword'

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1962795

Title:
  sshpass  terminates  when running a remote script if the script
  executes a program that outputs the text'assword'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sshpass/+bug/1962795/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to