Reload config files automatically as non root

Frank Bulk frnkblk at iname.com
Thu Nov 17 05:19:48 UTC 2011


Make sure there are no gotchas in the configuration. =)

 

Frank

 

From: dhcp-users-bounces+frnkblk=iname.com at lists.isc.org
[mailto:dhcp-users-bounces+frnkblk=iname.com at lists.isc.org] On Behalf Of
Sebastien Pascal
Sent: Wednesday, November 16, 2011 11:16 AM
To: Users of ISC DHCP
Subject: Re: Reload config files automatically as non root

 

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
<mailto:dhcp-users-bounces%2Bsiobhan.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/73772783/attachment.html>


More information about the dhcp-users mailing list