Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mknetid(8) [suse man page]

MKNETID(8)						       NIS Reference Manual							MKNETID(8)

NAME
mknetid - generate data for netid map SYNOPSIS
/usr/lib/yp/mknetid [-q] [-h hosts] [-p passwd] [-g group] [-d domain] [-n netid] /usr/lib/yp/mknetid --version DESCRIPTION
mknetid generates the netid.byname NIS map from the contents of the group(5), passwd(5), hosts(5) and netid files. It checks for multiple entrys of netids and warn for them or filters them out. It is only called by /var/yp/Makefile when rebuilding the NIS map. OPTIONS
-q This flag turns on 'quiet' mode, don't print a warning message when finding an duplicate netid entry. -h hosts The -h flag can be used to specify the use of another hosts file than the default /etc/hosts. -p passwd The -p flag can be used to specify the use of another passwd file than the default /etc/passwd. -g group The -g flag can be used to specify the use of another group file than the default /etc/group. -n netid The -n flag can be used to specify the use of another netid file than the default /etc/netid. -d domain The mknetid command uses the system domainname by default. If it is not set or you whish to override it, you must use the -d parameter. --version Prints the version number FILES
/etc/group groups file /etc/hosts hosts database /etc/netid netname database /etc/passwd password file SEE ALSO
passwd(8), group(5), hosts(5), passwd(5) AUTHOR
mknetid was written by Thorsten Kukuk <kukuk@linux-nis.org>. NIS Reference Manual 09/26/2007 MKNETID(8)

Check Out this Related Man Page

MKNETID(8)						    BSD System Manager's Manual 						MKNETID(8)

NAME
mknetid -- generate netid map data SYNOPSIS
mknetid [-q] [-g group_file] [-p passwd_file] [-h hosts_file] [-n netid_file] [-d domain] DESCRIPTION
The mknetid utility processes the contents of the group(5), passwd(5), hosts(5) and netid(5) files into the format used to generate the netid.byname NIS map. This map is used to hold credential information for both users and hosts in an operating system independent format. The mknetid utility checks for duplicate occurrences of netids and filters them out. The mknetid utility prints its results on the standard output. It is usually called only by /var/yp/Makefile when rebuilding the NIS maps. OPTIONS
The mknetid utility supports the following options: -q Normally, mknetid prints a warning message when it encounters a duplicate netid. This flag turns on 'quiet' mode, allowing the warn- ings to be suppressed. Other error messages may still be generated. -g group_file Specify the location of the group information file. The compiled-in default is /etc/group. -p passwd_file Specify the location of the passwd information file. The compiled-in default is /etc/passwd. -h hosts_file Specify the location of the hosts database file. The compiled-in default is /etc/hosts. -n netid_file Specify the location of the netid information file. The compiled-in default is /etc/netid. Note that no error is generated if the netid database cannot be found. The netid database is not likely to be present on most systems until Secure RPC support is added to FreeBSD. -d domain By default, the mknetid utility uses the system domainname when generating netid records. If the system domainname is not set, the domain must be specified on the command line with the -d flag. If the domainname is set, the -d flag may be used to override it. FILES
/var/yp/Makefile the Makefile that calls yp_mkdb and mknetid to build the NIS databases /etc/group the default group database file /etc/passwd the default passwd database file /etc/hosts the default hosts database file /etc/netid the default netid database file SEE ALSO
yp(8), yp_mkdb(8) AUTHORS
Bill Paul <wpaul@ctr.columbia.edu> BSD
June 23, 1996 BSD
Man Page