Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 09-21-2007, 02:03 AM   #1
Registered: Aug 2006
Distribution: Slackware
Posts: 51

Rep: Reputation: 15
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!
Old 09-21-2007, 02:45 AM   #2
Registered: Sep 2004
Location: Malaysia, Johor
Distribution: Dual boot MacOS X/Ubuntu 9.10
Posts: 851

Rep: Reputation: 31
su username -p -c your-command

Last edited by kstan; 09-21-2007 at 02:53 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with the running processes mkhan919 Linux - Newbie 2 02-10-2007 03:11 PM
Too many Running Processes AdamCo Linux - Software 5 10-22-2004 03:17 AM
processes running true_atlantis Slackware 2 02-27-2004 03:34 AM
Running processes Nicksan Linux - Software 1 05-30-2003 10:14 PM
seeing running processes albean Linux - Newbie 3 11-11-2002 07:52 PM

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration