[DU4.0 NIS] /etc/yp/securenets not working

From: F. Winter <winter_at_PHYSnet.uni-hamburg.de>
Date: Wed, 15 Mar 2000 16:07:48 +0100 (MET)

Managers,

I have searched the archives about this topic. But securenets seems to be
never touched.

I am having trouble configuring restricted access of NIS to the local
network. The man page of ypserv recoments the existence of
/etc/yp/securenets to restrict access to the ypserv daemon.
Further it says the correct syntax of /etc/yp/securenets is:

netmask ip

example:

255.255.255.0 123.156.121.0

So I edited /etc/yp/securenets to the above. Shoot me or not, it didn't work.
Even after
/sbin/init.d/nis stop
/sbin/init.d/nis start

When using the above example (with the right IP) no login was possible.
The output of telnet to a NIS-Client stops before the "login:" should
appear. I also tried the following syntaxs:

123.123.241.123/32
124.123.412.0/24

What is the right syntax? Does anybody use the file /etc/yp/securenets?
How is it set up?

Bye.

---------------------------------------------------------------------
   Frank Winter
   PHYSnet, University of Hamburg, Germany
   winter_at_PHYSnet.uni-hamburg.de
Received on Wed Mar 15 2000 - 15:08:58 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:40 NZDT