MKNETID(8) BSD System Manager's Manual MKNETID(8)NAME
mknetid -- a NIS filter program
SYNOPSIS
mknetid [-q] [-d domain] [-p passwdfile] [-g groupfile] [-h hostfile] [-m netidfile]
DESCRIPTION
mknetid is used to create a map named netid.byname. The map consists of information from passwd(5), group(5) and hosts(5) eventually con-
catenated with a netid(5) file.
The options are as follows:
-d domain NIS domain to use instead of the default domain.
-g groupfile Alternate group(5) file. Default is /etc/group.
-h hostfile Alternate hosts(5) file. Default is /etc/hosts.
-m netidfile Alternate netid(5) file. Default is /etc/netid.
-p passwdfile Alternate passwd(5) file. Default is /etc/passwd.
-q Keep quiet about multiple occurrences of a uid; ignore all but the first.
FILES
/etc/group
/etc/hosts
/etc/netid
/etc/passwd
SEE ALSO domainname(1), group(5), hosts(5), netid(5), passwd(5), nis(8)AUTHORS
Mats O Jansson <moj@stacken.kth.se>
BSD February 26, 2005 BSD
Check Out this Related Man Page
MKNETID(8) 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 parame-
ter.
--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@suse.de>.
YP Server August 2001 MKNETID(8)
hello folks,
I am looking for a command on Unix/Linux that will query the hosts connected to a domain..
For Ex: I would like to know what hosts are attached to domain brown.edu . Assume there are:
cs.brown.edu, cob.brown.edu, math.brown.edu, mail.brown.edu, web.brown.edu and so on. So when... (1 Reply)
Hi
When i run the make command for nis i got the following message
/usr/sbin/mknetid: 1831-503 USERNAME groups exceed 32
I tried to use the netgroup map but it doesn't work - Maybe i use it wrongly
Any help please (0 Replies)
Hi ,
In need to remove the record marked in red
My input is as below :
1|ETG|63121387883|Alternate|Y
2|||
3|79.58|||GBP||
4|001137001
4|0011372
5|1021701
5|1021901
1|ETG|63121387884|Alternate|Y
2|||
3|79.58|||GBP||
4|001137001
5|1021702
5|1021802
1|ETG|63128363077|Alternate|Y
2|||... (1 Reply)
Hi Experts,
I have a syslog file from 1000's of different hosts which I want to adjust by removing the domain suffix from the hosts.
My previous attempts haven't managed to match all the different lenghts of the subdomains which are being logged.
Could somebody suggest which sed syntax... (6 Replies)
Hi,
I have a question about Sun StorageTek Common Array Manager (CAM): What is the concept of 'host'? Is it the hostname of the server that has access to the managed array? If so, can I use its IP instead of its hostname?
I've found a 'host' under CAM called XYZ (See below). In our... (7 Replies)