starting bind as a non-root user with ndc

Mark.Andrews at nominum.com Mark.Andrews at nominum.com
Thu May 4 08:06:21 UTC 2000


> On Wed, May 03, 2000 at 04:12:20PM +0000, nalin at redhat.com wrote:
> 
> > Try "ndc restart -- -u named -g named".
> 
> What does the "--" do?

	It stops getopt(3) processing anymore arguments.
	The -- is in the wrong position in this example.

	Mark

> And btw, this will fail utterly, if the permissions are flawed...
> 
> 
--
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