Reload config files automatically as non root

Sebastien Pascal sbpascal at gmail.com
Wed Nov 16 17:16:12 UTC 2011


automatic reload via cron may be the way to go. check if the config file
has changed, verify it is a valid config and if it is reload the dhcpd. I
do it now and it has worked flawlessly for years.

On Wed, Nov 16, 2011 at 12:50 PM, Siobhan Keehan <
siobhan.keehan at ericsson.com> wrote:

> Hi Simon,
>
> Thanks for that but I can't use sudo, I think I will stick with a cron
>
> //Siobhán
>
> -----Original Message-----
> From: dhcp-users-bounces+siobhan.keehan=ericsson.com at lists.isc.org[mailto:
> dhcp-users-bounces+siobhan.keehan=ericsson.com at lists.isc.org] On Behalf
> Of Simon Hobson
> Sent: 16 November 2011 15:25
> To: Users of ISC DHCP
> Subject: Re: Reload config files automatically as non root
>
> Glenn Satchell wrote:
>
> >You could have a script run from cron every minute.
>
> That would be my first thought.
>
> Alternatively, you could look into setting up permissions (edit
> /etc/sudoers) for them to do the reload via sudo without needing a
> password.
>
> --
> Simon Hobson
>
> Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
> author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas
> stocking fillers. Some available as e-books.
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
>



-- 
IT Specialist
Sebastien Pascal
P.O Box 568
Roseau
Commonwealth of Dominica
Tel  767-277-2156 or 767-315-5070
email: sbpascal at gmail.com

This communication and any files attached to it may contain confidential
information. If you are not the addressee and receive this communication by
error, please notify the sender, dispose of this communication immediately
and do not disclose or use it in any manner whatsoever.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20111116/8c67176d/attachment.html>


More information about the dhcp-users mailing list