Open GoogleCodeExporter opened 9 years ago
I am facing the same problem
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
Original comment by sanjayku...@gmail.com
on 10 Sep 2013 at 2:01
Please somebody reply i need to quickly figure out a solution.I am using putty
as a terminal
Original comment by sanjayku...@gmail.com
on 10 Sep 2013 at 2:03
try with "echo sudo su"
Original comment by rawoof...@gmail.com
on 15 Nov 2013 at 12:03
After connecting with "echo sudo username", how to enter passwrod for username
through java code
Original comment by raja.sek...@gmail.com
on 7 Dec 2013 at 3:58
Hi raja.sek
were you able to solve this problem, i am facing the same kind of prob.
Original comment by sujan...@gmail.com
on 3 Jun 2014 at 7:15
Original issue reported on code.google.com by
sameer.b...@gmail.com
on 7 Mar 2013 at 4:50