Re: Daemon restart by non-root user

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

 



On Thu, 2003-10-09 at 18:39, Reuben D. Budiardja wrote:
> On Thursday 09 October 2003 05:53 pm, Srini Amble wrote:
> > I have a daemon which is started automatically during the system boot-up
> > (it is in /etc/rc.d/init.d). During the life of the daemon users can
> > change the configuration because of which the daemon will have to be
> > restarted. All processes which are part of Daemon are owned by root and
> > hence non-root users cannot kill and consequently restart fails. Can
> > anyone suggest a way to handle this? I am using RH7.2 for those who care.
> 
> Maybe you can use sudo for the user that needs to restart the daemon:
> 
> man  sudo
> man sudoers
> 
> RDB


Yup.  This is exactly what sudo is for.

Bret


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux