On Tuesday, 18 August 2015 08:27:33 UTC+5:30, hariramm...@gmail.com  wrote:
> execute commands as su on remote server
> 
> Postby hariram » Mon Aug 17, 2015 4:02 am
> Needed:
> I need to execute commands after doing su to other user on remote server(not 
> sudo which doesn't require password) how i can achieve this using python?
> I googled and came to know that its not possible, so just for confirmation 
> asking again, is it possible ?
> 
> Already Tried:
> Tried paramiko that's too not working.

Hey Chris,
Thanks for that, requirement is not to use sudo, we have to use only su.
anyway i have tried with subprocess too with su which is not working as it 
needs tty...even paramiko also SSHClient...
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to