LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Start a daemon as general user (https://www.linuxquestions.org/questions/linux-newbie-8/start-a-daemon-as-general-user-831203/)

bret1234 09-09-2010 10:51 AM

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?

valen_tino 09-09-2010 11:17 AM

Use sudo

More info here.

ricstirato 09-09-2010 11:26 AM

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)


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