LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-09-2010, 11:51 AM   #1
bret1234
LQ Newbie
 
Registered: Sep 2010
Posts: 1

Rep: Reputation: 0
Question Start a daemon as general user


I need to allow certain users (who do not have root access) to be able to stop and start specific daemons. Can anyone tell how I can do this in Linux?
 
Old 09-09-2010, 12:17 PM   #2
valen_tino
Member
 
Registered: Jan 2008
Posts: 105

Rep: Reputation: 28
Use sudo

More info here.
 
1 members found this post helpful.
Old 09-09-2010, 12:26 PM   #3
ricstirato
Member
 
Registered: Jan 2004
Location: Gießen, Germany
Distribution: Xubuntu 12.04, Mythbuntu, Ubuntu Server 12.04
Posts: 174

Rep: Reputation: 24
You can allow these users to use sudo.
For example to start apache, they would type something like:

$ sudo /etc/init.d/apache start

Use visudo to configure the permissions (this edits /etc/sudoers, try man sudoers first)
 
1 members found this post helpful.
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
start daemon as domain user jatrn Linux - Newbie 0 02-12-2010 01:21 PM
How to run daemon process being a normal user [not root user]. narendra1310 Linux - Software 1 10-26-2009 10:48 AM
Bash script to verify the daemon is working if not, start the daemon kishoreru Linux - Newbie 7 09-23-2009 05:29 AM
Enable daemon to run with service daemon start,etc baddah Programming 6 12-02-2007 06:51 PM
start-stop-daemon: user `man' not found cccc Debian 4 03-06-2007 05:03 AM


All times are GMT -5. The time now is 02:33 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration