LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 09-21-2007, 01:03 AM   #1
c4onastick
Member
 
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, 01:45 AM   #2
kstan
Member
 
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 01:53 AM.
 
  


Reply


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 02:11 PM
Too many Running Processes AdamCo Linux - Software 5 10-22-2004 02:17 AM
processes running true_atlantis Slackware 2 02-27-2004 02:34 AM
Running processes Nicksan Linux - Software 1 05-30-2003 09:14 PM
seeing running processes albean Linux - Newbie 3 11-11-2002 06:52 PM


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

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