Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #95454

execute commands as su on remote server

X-Received by 10.13.225.206 with SMTP id k197mr4149305ywe.40.1439866623902; Mon, 17 Aug 2015 19:57:03 -0700 (PDT)
X-Received by 10.182.42.234 with SMTP id r10mr27618obl.2.1439866623787; Mon, 17 Aug 2015 19:57:03 -0700 (PDT)
Path csiph.com!au2pb.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!69no1797845qgi.0!news-out.google.com!o13ni16144igw.0!nntp.google.com!x6no1605577igd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.python
Date Mon, 17 Aug 2015 19:57:03 -0700 (PDT)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=151.151.16.13; posting-account=1SpZ5woAAAA9asrWwzRpL93v3FfBemIc
NNTP-Posting-Host 151.151.16.13
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <a6b3da0b-d9be-4241-8577-85aafca72440@googlegroups.com> (permalink)
Subject execute commands as su on remote server
From harirammanohar159@gmail.com
Injection-Date Tue, 18 Aug 2015 02:57:03 +0000
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
X-Received-Bytes 1441
X-Received-Body-CRC 517067811
Xref csiph.com comp.lang.python:95454

Show key headers only | View raw


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.

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

execute commands as su on remote server harirammanohar159@gmail.com - 2015-08-17 19:57 -0700
  Re: execute commands as su on remote server Chris Angelico <rosuav@gmail.com> - 2015-08-18 13:06 +1000
  Re: execute commands as su on remote server harirammanohar159@gmail.com - 2015-08-18 23:58 -0700
  Re: execute commands as su on remote server harirammanohar159@gmail.com - 2015-08-19 00:02 -0700
    Re: execute commands as su on remote server Laura Creighton <lac@openend.se> - 2015-08-19 10:44 +0200
    Re: execute commands as su on remote server Laura Creighton <lac@openend.se> - 2015-08-19 10:51 +0200
  Re: execute commands as su on remote server harirammanohar159@gmail.com - 2015-09-01 05:16 -0700
    Re: execute commands as su on remote server Laura Creighton <lac@openend.se> - 2015-09-01 15:25 +0200
  Re: execute commands as su on remote server Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2015-09-02 09:05 +0200
  Re: execute commands as su on remote server harirammanohar159@gmail.com - 2015-10-01 00:10 -0700

csiph-web