logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

mknetid - generate data for netid map

Author

mknetid was written by Thorsten Kukuk <kukuk@linux-nis.org>.

NIS Reference Manual                               12/31/2020                                         MKNETID(8)

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.

Files

/etc/group
           groups file

       /etc/hosts
           hosts database

       /etc/netid
           netname database

       /etc/passwd
           password file

Name

       mknetid - generate data for netid map

Options

-q
           This flag turns on 'quiet' mode, don't print a warning message when finding an duplicate netid entry.

       -hhosts
           The -h flag can be used to specify the use of another hosts file than the default /etc/hosts.

       -ppasswd
           The -p flag can be used to specify the use of another passwd file than the default /etc/passwd.

       -ggroup
           The -g flag can be used to specify the use of another group file than the default /etc/group.

       -nnetid
           The -n flag can be used to specify the use of another netid file than the default /etc/netid.

       -ddomain
           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

See Also

passwd(8), group(5), hosts(5), passwd(5)

Synopsis

/usr/lib/yp/mknetid [-q] [-h hosts] [-p passwd] [-g group] [-d domain] [-n netid]

       /usr/lib/yp/mknetid --version

See Also