Re: how to spawn a process under different user

2009-07-03 Thread Nick Craig-Wood
Gabriel Genellina gagsl-...@yahoo.com.ar wrote: En Thu, 02 Jul 2009 19:27:05 -0300, Tim Harig user...@ilthio.net escribió: On 2009-07-02, sanket sanket.s.pa...@gmail.com wrote: sanket wrote: I am trying to use python's subprocess module to launch a process. but in order to do that I

how to spawn a process under different user

2009-07-02 Thread sanket
Hello All, I am trying to use python's subprocess module to launch a process. but in order to do that I have to change the user. I am not getting any clue how to do that? so can anyone please tell me How can I spawn a process under different user than currently I am logging in as. Thank you,

Re: how to spawn a process under different user

2009-07-02 Thread sanket
On Jul 2, 1:58 pm, Tim Golden m...@timgolden.me.uk wrote: sanket wrote: Hello All, I am trying to use python's subprocess module to launch a process. but in order to do that I have to change the user. I am not getting any clue how to do that? so can anyone please tell me How can I

Re: how to spawn a process under different user

2009-07-02 Thread Tim Harig
On 2009-07-02, sanket sanket.s.pa...@gmail.com wrote: sanket wrote: I am trying to use python's subprocess module to launch a process. but in order to do that I have to change the user. I am using python 2.4 on centos. I have never done this in python; but, using the normal system calls in

Re: how to spawn a process under different user

2009-07-02 Thread Gabriel Genellina
En Thu, 02 Jul 2009 19:27:05 -0300, Tim Harig user...@ilthio.net escribió: On 2009-07-02, sanket sanket.s.pa...@gmail.com wrote: sanket wrote: I am trying to use python's subprocess module to launch a process. but in order to do that I have to change the user. I am using python 2.4 on