[Gllug] named

Matthew Kirkwood matthew at hairy.beasts.org
Wed Jan 23 20:40:51 UTC 2002


On Wed, 23 Jan 2002, will wrote:

> I could, but I have solved it!  I needed to setuid root on
> /usr/sbin/named.  named was unable to open a service on a port < 1024
> without it.

DON'T DO THAT.

Your launch line should have been:

$ sudo named -u named

not

$ sudo -u named named

The former starts named as root, but instructs it to drop
root and become the "named" user after it has done its
rootly initialisation (which may include binding port 53,
chrooting, etc).

Matthew.


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list