[CentOS] replacement for start-stop-daemon on CentOS

Sun Apr 4 16:43:17 UTC 2010
Les Mikesell <lesmikesell at gmail.com>

Timothy Kesten wrote:
> Am Sonntag, 4. April 2010 17:37:02 schrieb Kwan Lowe:
>> There's no real equivalent, but the "service" command is the main
>> method of starting/stopping processes/daemons.  In itself it doesn't
>> do what the start-stop-daemon does, but the scripts associated with
>> the service utility can be customized to mimic some similar functions.
> 
> My goal is: 
> 
> start a service/daemon using init.d-script with user != root in a correct way.
> 
> One solution is using su/sudo - but is that "clean"?

That depends on your reason for not being root to start. Sudo is good if you 
want to avoid giving the root password to the person in question, or if you want 
to restrict the commands they can run.

-- 
   Les Mikesell
    lesmikesell at gmail.com