starting bind as a non-root user with ndc
Mark.Andrews at nominum.com
Mark.Andrews at nominum.com
Wed May 3 21:18:29 UTC 2000
> Jeremy Lunn <jeremyl at vicnet.net.au> wrote:
> > In debian I modified my /etc/init.d/bind file to start named as user
> > named and group named. But when I do restart with that file it goes
> > back to being root again. That file runs "/usr/sbin/ndc restart". So
> > is it possiable to get ndc to start bind as non-root?
>
> Try "ndc restart -- -u named -g named".
>
> Nalin
>
>
Actually that should be "ndc -- restart -u named -g named",
if you have a non-broken getopt(3) you only need
"ndc restart -u named -g named". What you had had told
named to ignore the "-u named -g named".
Mark
--
Mark Andrews, Nominum Inc.
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark.Andrews at nominum.com
More information about the bind-users
mailing list