[Tutor] Running a process/script as another user

Jay Dorsey python@jaydorsey.com
Fri Jan 31 12:30:18 2003


I have a python script that I"m executing via cgi. the process that 
exceutes the script doesn't have access to do what I need it to do 
(automate some CVS tasks).  Is there anyway to switch to a differnet 
non-root user so I can execute these commands as the user with the 
proper permissions (using os.system())?  This is on a *nix box.

Any help or pointers would be appreciated.

jay