[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

documentation/2399: rpc.yppasswdd(0) man page describes -m option wrong



>Number:         2399
>Category:       documentation
>Synopsis:       rpc.yppasswdd(0) man page describes -m option wrong
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bugs
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 13 14:30:01 MST 2002
>Last-Modified:
>Originator:     Wangden Kelsang
>Organization:
>Release:        1.13
>Environment:
	System      : OpenBSD 3.0
	Architecture: OpenBSD.i386
	Machine     : i386
>Description:
	In the rpc.yppasswdd(0) man page, the -m option is described
	as: "Don't use /var/yp/securenet. Use another file with
	another file format.  For futher information see
	ypserv.acl(5)."  This is verbatim from the ypserv(0) man page,
	which leads me to think that the author used the ypserv man
	page as a template for creating the rpc.yppasswdd man page,
	and forgot to fix this text.  My reading of the source for
	rpc.yppasswdd is that the -m option specifies arguments to
	the "make" command used to remake the NIS maps.
>How-To-Repeat:
>Fix:
	Here's a unified diff (relative to /usr/src) which fixes it:

	--- libexec/rpc.yppasswdd/rpc.yppasswdd.8.orig	Thu Aug  2 12:37:34 2001
	+++ libexec/rpc.yppasswdd/rpc.yppasswdd.8	Wed Feb 13 14:16:35 2002
	@@ -74,11 +74,9 @@
	 .It Fl nopw
	 Don't allow changes of the password in the passwd file.
	 .It Fl m Ar arg1 arg2 ...
	-Don't use
	-.Ar /var/yp/securenet .
	-Use another file with another file format.
	-For futher information see
	-.Xr ypserv.acl 5 .
	+Pass the specified arguments to 
	+.Xr make 0 
	+when invoking it in /var/yp to rebuild the passwd maps.
	 .El
	 .Sh FILES
	 .Bl -tag -width /etc/master.passwd -compact

>Audit-Trail:
>Unformatted: