Re: Setting up a new user and environment from within a python script

2008-02-07 Thread Henry Hollenberg
On Feb 7, 3:30 pm, [EMAIL PROTECTED] wrote: > On Feb 7, 11:15 am, Henry Hollenberg <[EMAIL PROTECTED]> wrote: > > > > > Hello, > > > I have written a script that uses environment variables set during > > a particular users login in ".bash_profile" and ".profile". > > > I have changed to that users

Re: Setting up a new user and environment from within a python script

2008-02-07 Thread ericbrunson
On Feb 7, 11:15 am, Henry Hollenberg <[EMAIL PROTECTED]> wrote: > Hello, > > I have written a script that uses environment variables set during > a particular users login in ".bash_profile" and ".profile". > > I have changed to that users uid and gid in my python script using: > > import os > os.se

Setting up a new user and environment from within a python script

2008-02-07 Thread Henry Hollenberg
Hello, I have written a script that uses environment variables set during a particular users login in ".bash_profile" and ".profile". I have changed to that users uid and gid in my python script using: import os os.setegid os.setgid os.seteuid os.setuid but I still am not picking up the needed