Re: replacement for start-stop-daemon on CentOS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxx
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux