/etc/services and NIS

Glenn Johnson glennpj at charter.net
Thu Jul 17 19:22:41 PDT 2003


On Thu, 2003-07-17 at 19:48, Callum Gibson wrote:
> Does anyone know if you need to reboot for the + in /etc/services to
> take effect? I've added a + at the end of /etc/services on my FreeBSD
> 4.8-RELEASE box but getservbyname calls still fail unless I have the
> service entries explictly entered into the file. A "ypcat services"
> works fine so NIS is okay. Is this supposed to work?

You have remake your NIS maps.  Go to /var/yp and type make as root.

-- 
Glenn Johnson
glennpj at charter.net




More information about the freebsd-questions mailing list