summaryrefslogtreecommitdiffstats
path: root/libexec/mknetid/mknetid.8
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/mknetid/mknetid.8')
-rw-r--r--libexec/mknetid/mknetid.875
1 files changed, 38 insertions, 37 deletions
diff --git a/libexec/mknetid/mknetid.8 b/libexec/mknetid/mknetid.8
index 5b7ff6d..f1261b9 100644
--- a/libexec/mknetid/mknetid.8
+++ b/libexec/mknetid/mknetid.8
@@ -28,7 +28,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $Id$
+.\" $Id: mknetid.8,v 1.3 1997/02/22 14:21:53 peter Exp $
.\"
.Dd June 23, 1996
.Dt MKNETID 8
@@ -49,68 +49,67 @@
processes the contents of the
.Xr group 5 ,
.Xr passwd 5 ,
-.Xr hosts 5 and
+.Xr hosts 5
+and
.Xr netid 5
files into the format used to generate the
.Pa netid.byname
-NIS map. This map is used to hold credential information for both users
+.Tn NIS
+map. This map is used to hold credential information for both users
and hosts in a operating system independent format.
.Pp
The
-.Nm mknetid
+.Nm
command checks for duplicate occurances of netids and filters
them out.
.Pp
The
-.Nm mknetid
+.Nm
command prints its results on the standard output. It is usually called
only by
-.Nm /var/yp/Makefile
-when rebuilding the NIS maps.
+.Pa /var/yp/Makefile
+when rebuilding the
+.Tn NIS
+maps.
.Pp
.Sh OPTIONS
The
-.Nm mknetid
+.Nm
command supports the following options:
-.Bl -tag -width flag
+.Bl -tag -width indent
.It Fl q
Normally,
-.Nm mknetid
+.Nm
prints a warning message when it encounters a duplicate netid.
This flag turns on 'quiet' mode, allowing the warnings to be
surpressed. Other error messages may still be generated.
-.It Fl g Ar group-file
-The
-.Fl g
-flag can be used to specify the location of the group information
+.It Fl g Ar group_file
+Specify the location of the group information
file. The compiled-in default is
.Pa /etc/group .
-.It Fl p Ar passwd-file
-The
-.Fl p
-flag can be used to specify the location of the passwd information
+.It Fl p Ar passwd_file
+Specify the location of the passwd information
file. The compiled-in default is
.Pa /etc/passwd .
-.It Fl h Ar group-file
-The
-.Fl h
-flag can be used to specify the location of the hosts database
+.It Fl h Ar group_file
+Specify the location of the hosts database
file. The compiled-in default is
.Pa /etc/hosts .
-.It Fl n Ar netid-file
-The
-.Fl n
-flag can be used to specify the location of the netid information
+.It Fl n Ar netid_file
+Specify the location of the netid information
file. The compiled-in default is
.Pa /etc/netid .
Note that no error is generated if the netid database can't be
found. The netid database is not likely to be present on most systems
-until Secure RPC support is added to FreeBSD.
+until
+.Tn Secure RPC
+support is added to
+.Bx Free .
.It Fl d Ar domain
By default, the
-.Nm mknetid
+.Nm
command uses the system domainname when generating netid records. If
-the system domainnameis not set, the domain must be specified on the
+the system domainname is not set, the domain must be specified on the
command line with the
.Fl d
flag. If the domainname is set, the
@@ -118,24 +117,26 @@ flag. If the domainname is set, the
flag may be used to override it.
.El
.Sh FILES
-.Bl -tag -width Pa -compact
+.Bl -tag -width /var/yp/Makefile -compact
.It Pa /var/yp/Makefile
-The Makefile that calls
+the Makefile that calls
.Nm yp_mkdb
and
.Nm mknetid
-to build the NIS databases.
+to build the
+.Tn NIS
+databases
.It Pa /etc/group
-The default group database file.
+the default group database file
.It Pa /etc/passwd
-The default passwd database file.
+the default passwd database file
.It Pa /etc/hosts
-The default hosts database file.
+the default hosts database file
.It Pa /etc/netid
-The default netid database file.
+the default netid database file
.El
.Sh SEE ALSO
.Xr yp 4 ,
.Xr yp_mkdb 8
.Sh AUTHOR
-Bill Paul <wpaul@ctr.columbia.edu>
+.An Bill Paul Aq wpaul@ctr.columbia.edu
OpenPOWER on IntegriCloud