is it safe to chmod +s named?

Jeff Pang jeff.pang at yahoo.com
Wed Oct 29 05:06:16 UTC 2008


This is my stop/start routines (with Perl CGI):

sub named_start {

    system "/path/named -u nobody";
    return $? == 0 ? 1 : 0;
}

sub named_stop {

    system "/path/rndc stop";
    return $? == 0 ? 1 : 0;
}

So how could I call them safely? Thanks again.


--- On Tue, 10/28/08, Jeremy C. Reed <Jeremy_Reed at isc.org> wrote:

> From: Jeremy C. Reed <Jeremy_Reed at isc.org>
> Subject: Re: is it safe to chmod +s named?
> To: "Jeff Pang" <jeff.pang at yahoo.com>
> Cc: bind-users at isc.org
> Date: Tuesday, October 28, 2008, 10:06 PM
> On Tue, 28 Oct 2008, Jeff Pang wrote:
> 
> > I need to let apache start/stop named.
> > I set: chmod +s named, so httpd (run with nobody) can
> stop/start it.
> > Is it safe for this behavior? thanks.
> 
> How does your named listen on network socket?
> 
> Can you use rndc reconfig or rndc reload instead?


      


More information about the bind-users mailing list