I'm working on case where sudo and sudo_password are needed.
But it failed with current error:
06:25:52.079 | INFO | stderr: We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. sudo: no tty present and no askpass program specified |
-- | -- | -- | --
Does this library support tty? I was not able to see anything related to TTY in documentation.
While using SSH directly it works when '-t' is passed to command line.
Hello,
I'm working on case where sudo and sudo_password are needed.
But it failed with current error:
Does this library support tty? I was not able to see anything related to TTY in documentation.
While using SSH directly it works when '-t' is passed to command line.
Thanks in advance for any answer.
/Greg.