Subject: Doing a su- in SSH
Date: 2010-01-07 00:09:09
From: phburke
Source: su-ssh
----------------------------------------------------------------------
I have an application that logs into a Linux box. I am trying to set the user to root by sending an "su -" command.
When I call ReadAll I get "standard in must be a tty".
If I try calling the SendCommand with the password, I get the following
"Command cannot be sent while client is still waiting for or processing the expected response from the server."
Any suggestions?
Thanks,
Pat
----------------------------------------------------------------------
Note: This question has been asked on the Q&A forum of Thang Dang's fraudulent ComponentPro brand
If you purchased anything from ComponentPro, you have been scammed. Contact the payment processor
who sold you the license and ask for your money back.
Back to ComponentPro Q&A Forum Index