Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 65 by [email protected]: Seems SSHLibrary couldn't switch to root user successfully
http://code.google.com/p/robotframework-sshlibrary/issues/detail?id=65

1. I login a remote server as user A with self._ssh.login(username,password)
2. I try to switch to root user with below commands
   self._ssh.write("su -")
   self._ssh.read_until("Password: ")
   self._ssh.write(self._password)
   self._ssh.set_prompt("# ")
   No error after executing the commands.
3. Print the current user
   print self._ssh.execute_command("whoami")

   The result is A, not root. Anyone meets the same problem? Thanks


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to