Kill -HUP named

2007-12-25 9:20:00

IŽve received a lot of emails, thanks everybody that emailed me...

IŽll get sudo and try to writte a wrapper in Perl....

Artur Rodrigues

Brasilia, Brazil

special thanks to:

Michael Hocke

Tom Cowan

Eric D. Pancer

David Lew

Douglas C. Palmer

Ameet Chaubal

Ken Farmer

--------

Write a wrapper in C or Perl and make it suid root (or whatever the owner of

your in.named is). Shell scripts won't work, though.

--------

You should be able to do this with sudo. Just give that user privileges to

use

kill, or if you only want them to be able to "kill" in.named write a script

that

will find the pid for in.named and give them privileges to run that script.

Check out http://www.courtesan.com/sudo/

--------

Just install sudo; life will be much easier.

--------

try su or sudo

su -c kill -HUP pid#

or sudo with rights to ndc restart

--------

Use your crontab to restart in.named every 2 or 3 hours.

Comments

Got something to say?

You must be logged in to post a comment.