Generates data for the netid.byname map for use by the Network Information Services (NIS).
To Create an NIS Map:
/usr/sbin/mknetid [ -q ] [ -p PasswordFile ] [ -g GroupFile ] [ -h HostsFile ] [ -m NetidFile ]
unix.<uid>@<domainname> <uid>:<gid1>,<gid2>,...unix.<hostname>@<domainname> 0:<hostname>| Item | Description | 
|---|---|
| -q | Quiet mode - do not report any warnings about the data. | 
| -p PasswordFile | Specifies which passwd file to be used for reading the list of users. | 
| -g GroupFile | Specifies which groups file to be used for reading the list of group memberships. | 
| -h HostsFile | Specifies which hosts file to be used for reading the list of hostnames. | 
| -m NetidFile | Specifies a file from which to read any additional netid entries to be included. | 
| Item | Description | 
|---|---|
| /var/yp/Makefile | mknetid is most commonly used when rebuilding the NIS databases using /var/yp/Makefile. | 
| /etc/passwd | Where PasswordFile resides. | 
| /etc/groups | Where GroupFile resides. | 
| /etc/hosts | Where HostsFile resides. | 
| /etc/netid | Where NetidFile resides. |