Re: Daemon restart by non-root user

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

 



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

-- 
Reuben D. Budiardja
Department of Physics and Astronomy
The University of Tennessee, Knoxville, TN
---------------------------------------------------------
"To be a nemesis, you have to actively try to destroy 
something, don't you? Really, I'm not out to destroy 
Microsoft. That will just be a completely unintentional 
side effect."
                 - Linus Torvalds -


-- 
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