Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

securenet(5) [osx man page]

SECURENET(5)						      BSD File Formats Manual						      SECURENET(5)

NAME
securenet -- ypserv(8) configuration file for secure networks DESCRIPTION
The securenet file controls which hosts can connect to the YP server. The format is rather simple. Each row consists of two items. The first item is the network mask. The second item is the network. EXAMPLES
A configuration file might appear as follows: # # Only my local net is secure. # 255.255.255.0 139.58.253.0 FILES
/var/yp/securenet A ypserv(8) configuration file. SEE ALSO
yp(8), ypserv(8), ypserv.acl(5) HISTORY
The securenet was added to NIS by Sun Microsystems, Inc. as a bugfix for weak security. BSD
June 27, 1994 BSD

Check Out this Related Man Page

securenets(4)							   File Formats 						     securenets(4)

NAME
securenets - configuration file for NIS security SYNOPSIS
/var/yp/securenets DESCRIPTION
The /var/yp/securenets file defines the networks or hosts which are allowed access to information by the Network Information Service ("NIS"). The format of the file is as follows: o Lines beginning with the ``#'' character are treated as comments. o Otherwise, each line contains two fields separated by white space. The first field is a netmask, the second a network. o The netmask field may be either 255.255.255.255 (IPv4), ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff (IPv6) , or the string ``host'' indi- cating that the second field is a specific host to be allowed access. Both ypserv(1M) and ypxfrd(1M) use the /var/yp/securenets file. The file is read when the ypserv(1M) and ypxfrd(1M) daemons begin. If /var/yp/securenets is present, ypserv(1M) and ypxfrd(1M) respond only to IP addresses in the range given. In order for a change in the /var/yp/securenets file to take effect, you must kill and restart any active daemons using ypstop(1M) and ypstart(1M). An important thing to note for all the examples below is that the server must be allowed to access itself. You accomplish this either by the server being part of a subnet that is allowed to access the server, or by adding an individual entry, as the following: hosts 127.0.0.1 EXAMPLES
Example 1: Access for Individual Entries If individual machines are to be give access, the entry could be: 255.255.255.255 192.9.1.20 or host 192.0.1.20 Example 2: Access for a Class C Network If access is to be given to an entire class C network, the entry could be: 255.255.255.0 192.9.1.0 Example 3: Access for a Class B Network The entry for access to a class B network could be: 255.255.0.0 9.9.0.0 Example 4: Access for an Invidual IPv6 Address Similarly, to allow access for an individual IPv6 address: ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff fec0::111:abba:ace0:fba5e:1 or host fec0::111:abba:ace0:fba5e:1 Example 5: Access for all IPv6 Addresses Starting with fe80 To allow access for all IPv6 addresses starting with fe80: ffff:: fe80:: FILES
/var/yp/securenets Configuration file for NIS security. SEE ALSO
ypserv(1M), ypstart(1M), ypstop(1M), ypxfrd(1M) NOTES
The Network Information Service (NIS) was formerly known as Sun Yellow Pages (YP). The functionality of the two remains the same; only the name has changed. The name Yellow Pages is a registered trademark in the United Kingdom of British Telecommunications plc, and may not be used without permission. SunOS 5.10 26 Apr 1999 securenets(4)
Man Page

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Networking a SCO Unix box with a windows lan

Hi there! We have a SCO UNIX box that uses a bunch of dumb terminals. We also have a workgroup of 5 stations Is there a way that we can network the UNIX box to the workgroup for dumb terminal.. A novice would think you could TCP the UNIX machine through a hub and use hypertermal as a dumb... (6 Replies)
Discussion started by: huilai
6 Replies

2. Windows & DOS: Issues & Discussions

Windows Terminal Emulators

I have been using NetTerm on various Windows flavors for a while and have just run into a problem with printer passthru (transparent printing) that I can analyse but not resolve. The setup is a Epson TM60 POS Label Printer connected XON/XOFF via COM1 on a Win98SE system. This is controlled... (3 Replies)
Discussion started by: MickZA
3 Replies

3. UNIX for Advanced & Expert Users

Linux NIS sever not binding with Solaris client

I am installing a NIS master server with a linux SLES 10 SP1. And it was pretty straight forward. (Simple since it GUI ) The server can bind to itself when issue with ypwhich command. But on solaris 10 box, I set up the defaultdomain (/etc/defaultdomain) and also issue ypinit -c to startup the... (3 Replies)
Discussion started by: ibroxy
3 Replies

4. AIX

AIX NIS Client to Linux

Hi, I have a trouble with configure NIS Client on AIX, my NIS server is on a Linux machine. After configure, some old NIS account could login normally. However, after I create new account from NIS server, I could not login with the new account, but could only su to that account. And I could view... (20 Replies)
Discussion started by: aloneattack
20 Replies

5. Shell Programming and Scripting

Parsing kiwi syslog from Astaro

Hello, I am trying to parse this syslog pulling out and logging results to a file. The information I want is: scrip, scrport, dstip, dstport. I just want the numbers, not including the text part ie srcip=". Problem is, the column locations change, so I can't use the nice awk $1 $2 etc to... (4 Replies)
Discussion started by: rmelnik
4 Replies

6. UNIX for Dummies Questions & Answers

NIS error

Hi, when I do ypwhich -m, I get this error message. # ypwhich -m |more Can't find master for map ethers.byaddr. Reason: Internal NIS error Can't find master for map old. Reason: Internal NIS error Can't find master for map rpc.bynumber. Reason: Internal NIS error Can't find master... (2 Replies)
Discussion started by: samnyc
2 Replies

7. Solaris

Experience sharing and questions for NIS migration from Solaris 8 to Linux

I'd like to share some experiences and what I found for NIS migration from Solaris 8 NIS to Linux platform. I'm not an expert for both platforms, it's just when I tested both systems and found something really tricky. That might takes a lot of time for you to find the root cause. So, I think I can... (11 Replies)
Discussion started by: bestard
11 Replies