Re: how to execute the following command using python

2014-09-25 Thread Chris Angelico
On Thu, Sep 25, 2014 at 10:28 PM, wrote: > echo -e 'ubuntumachinepassword/\nremotemachinepasword' | sudo --stdin sshfs > root@remoteip:/remotesystem/folder/ /localmountpoint / -o workaround=rename > -o password_stdin -o allow_other > This implies that you're embedding two passwords in the scr

how to execute the following command using python

2014-09-25 Thread pradeepatjob
Hi group, I am trying to mount a remote network to my Ubuntu system. The remote machine keeps on changes or it is given by the user whoever wants to use my script. so , user enters what to mount. I found following command and it is running successfully when I execute using shell. th