diff options
-rw-r--r-- | lib/libc/net/ethers.3 | 3 | ||||
-rw-r--r-- | share/man/man5/ethers.5 | 6 | ||||
-rw-r--r-- | share/man/man5/networks.5 | 17 | ||||
-rw-r--r-- | usr.sbin/ypbind/ypbind.8 | 13 |
4 files changed, 33 insertions, 6 deletions
diff --git a/lib/libc/net/ethers.3 b/lib/libc/net/ethers.3 index 3ad3bfc2b72..f5db308115e 100644 --- a/lib/libc/net/ethers.3 +++ b/lib/libc/net/ethers.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ethers.3,v 1.8 1998/03/17 23:58:20 millert Exp $ +.\" $OpenBSD: ethers.3,v 1.9 1998/05/12 09:15:19 deraadt Exp $ .\" .\" Written by roland@frob.com. Public domain. .\" @@ -64,6 +64,7 @@ The function looks up the given host name and writes the associated Ethernet address into the structure passed. Both functions return zero if they find the requested host name or address, and -1 if not. +.Pp Each call reads .Pa /etc/ethers from the beginning; if a + appears alone on a line in the file, then diff --git a/share/man/man5/ethers.5 b/share/man/man5/ethers.5 index 25f6de26e93..73ac69c58ef 100644 --- a/share/man/man5/ethers.5 +++ b/share/man/man5/ethers.5 @@ -10,7 +10,7 @@ .Nd Ethernet host name data base .Sh DESCRIPTION The -.Xr ethers +.Nm ethers file maps Ethernet addresses to host names. Lines consist of an address and a host name, separated by any number of blanks and/or tab characters. A ``#'' indicates the beginning of a comment; characters up to the end of @@ -21,6 +21,10 @@ Ethernet addresses are expressed as six hexadecimal numbers separated by colons. and .Xr ether_aton 3 can read and produce this format. +.Pp +The +.Nm ethers +file has support for YP functionality. For more information, see .Sh FILES .Bl -tag -width /etc/ethers -compact .It Pa /etc/ethers diff --git a/share/man/man5/networks.5 b/share/man/man5/networks.5 index 0ce008cc1be..ecd9ff2b1da 100644 --- a/share/man/man5/networks.5 +++ b/share/man/man5/networks.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: networks.5,v 1.3 1998/03/16 05:06:47 millert Exp $ +.\" $OpenBSD: networks.5,v 1.4 1998/05/12 09:15:18 deraadt Exp $ .\" $NetBSD: networks.5,v 1.3 1994/11/30 19:31:23 jtc Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -75,8 +75,19 @@ delimiter, newline, or comment character. .Pp The .Nm networks -file should be obsoleted by the network information faclities of the -name server. +file is largely obsoleted by the network information facilities of the +name server in the following way: +.Pp +The system configuration file +.Xr resolv.conf 5 +controls where host name information will be searched for. +The mechanism provided permits the administrator to describe the +databases to search; the databases currently known include +.Xr yp 5 , +DNS +and the +.Xr hosts 5 +database. .Sh FILES .Bl -tag -width /etc/networks -compact .It Pa /etc/networks diff --git a/usr.sbin/ypbind/ypbind.8 b/usr.sbin/ypbind/ypbind.8 index 97942932671..c50f8197910 100644 --- a/usr.sbin/ypbind/ypbind.8 +++ b/usr.sbin/ypbind/ypbind.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ypbind.8,v 1.8 1997/06/18 23:50:12 deraadt Exp $ +.\" $OpenBSD: ypbind.8,v 1.9 1998/05/12 09:15:15 deraadt Exp $ .\" $NetBSD: ypbind.8,v 1.2 1996/02/28 01:21:00 thorpej Exp $ .\" .\" Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -130,5 +130,16 @@ exists, YP is started automatically at boot time by .Xr ypwhich 1 , .Xr ypserv 8 , .Xr yp 8 +.Pp +Once +.Nm ypbind +is running you should look at the following pages to see how to enable YP +support for each of the following maps: +.Xr passwd 5 , +.Xr group 5 , +.Xr hosts 5 , +.Xr resolv.conf 5 , +.Xr ethers 3 , +.Xr networks 5 .Sh AUTHOR Theo de Raadt |