LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Running Processes as Another User (https://www.linuxquestions.org/questions/linux-general-1/running-processes-as-another-user-586243/)

c4onastick 09-21-2007 01:03 AM

Running Processes as Another User
 
How do you go about setting up processes to run as another (unprivileged) user? A lot of distros come pre-packaged this way for things like Apache and MySQL. I'd like to learn how to do it with any program.

Thanks for your responses!

kstan 09-21-2007 01:45 AM

su username -p -c your-command


All times are GMT -5. The time now is 11:06 PM.