What steps will reproduce the problem?
1.
2. ssh.connect();
3. CustomTask sampleTask = new ExecCommand("sudo -S su - user");
stuck over here
I want to do the folowing thing like sudo su - <UserName>.it will prompt for a
password.To avoid the prompting i am using like this sudo -S su - netaware.
The method works well in command prompt but in ssh execute.it is getting stuch
with the following log.
trying to connect
SSHExec initializing ...
Session initialized and associated with user credential password
SSHExec initialized successfully
SSHExec trying to connect user@host
SSH connection established
Command is sudo -S su - user
Connection channel established succesfully
Start to run command
What is the expected output? What do you see instead?
should come out of the loop
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by sanjayku...@gmail.com on 10 Sep 2013 at 2:50
Original issue reported on code.google.com by
sanjayku...@gmail.com
on 10 Sep 2013 at 2:50