summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ypbind/ypbind.8
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ypbind/ypbind.8')
-rw-r--r--usr.sbin/ypbind/ypbind.835
1 files changed, 34 insertions, 1 deletions
diff --git a/usr.sbin/ypbind/ypbind.8 b/usr.sbin/ypbind/ypbind.8
index dcd47af..4748a21 100644
--- a/usr.sbin/ypbind/ypbind.8
+++ b/usr.sbin/ypbind/ypbind.8
@@ -29,7 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $Id: ypbind.8,v 1.1 1995/04/09 21:59:06 wpaul Exp $
+.\" $Id: ypbind.8,v 1.2 1995/04/26 19:03:15 wpaul Exp $
.\"
.Dd April 9, 1995
.Dt YPBIND 8
@@ -42,6 +42,7 @@
.Op Fl ypset
.Op Fl ypsetme
.Op Fl s
+.Op Fl S Ar domainname,server1,server2,...
.Sh DESCRIPTION
.Nm ypbind
is the process that maintains NIS binding information. At startup,
@@ -103,6 +104,35 @@ flag causes
to run in secure mode: it will refuse to bind to any NIS server
that is not running as root (i.e. that is not using privileged
TCP ports).
+.It Fl S Ar domainname,server1,server2,server3,...
+The
+.Fl S
+flag allows the system administrator to lock ypbind to a particular
+domain and group of NIS servers. Up to ten servers can be specified.
+There must not be any spaces between the commas in the domain/server
+specification. This option is used to insure that that the system binds
+only to one domain and only to one of the specified servers, which
+is useful for systems that are both NIS servers and NIS
+clients: it provides a way to restrict what machines the system can
+bind to without the need for specifying the
+.Fl ypset
+or
+.Fl ypsetme
+options, which are often considered to be security holes. The specified
+servers must have valid entries in the local
+.Pa /etc/hosts
+file. IP addresses may be specified in place of hostnames. If
+.Nm ypbind
+can't make sense ouf of the arguments, it will ignore
+the
+.Fl S
+flag and continue running normally.
+.Pp
+Note that
+.Nm ypbind
+will consider the domainname specified with the
+.Fl S
+flag to be the system default domain.
.Sh NOTES
.Nm ypbind
will not make continuous attempts to keep secondary domains bound.
@@ -118,6 +148,9 @@ client programs reference it ot not.
.Bl -tag -width Pa -compact
.It Pa /var/yp/binding/[domainname].[version]
The files used to hold binding information for each NIS domain.
+.It Pa /etc/sysconfig
+System configuration file where the system default domain and
+ypbind startup options are specified.
.El
.Sh SEE ALSO
.Xr syslog 3 ,
OpenPOWER on IntegriCloud