MKNETID(8)
π MKNETID(8) β the NIS Reference Manual one π
okay bestie, welcome to mknetid, a lil program from the NIS Reference Manual (section 8, system admin territory, very grown-up of it β¨).
πΈ 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 π¦
so here's the tea: mknetid builds the netid.byname NIS map out of whatever's chillin' in your group(5), passwd(5), hosts(5) and netid files. that's its whole thing. it's giving data-wrangler. π«Ά
and the way it checks for multiple entries of netids?? obsessed. it either warns you about the duplicates or just filters them out β its choice, its moment. π
ngl though, this isn't a program you call yourself. it's only ever called by /var/yp/Makefile when it's rebuilding the NIS map. so if you see it in the wild, that's why. iykyk β¨
β¨ OPTIONS β¨
-qβ turns on 'quiet' mode. so when it finds a duplicate netid entry, it will NOT print a warning message. silent. stealth. π€«-hhostsβ lets you point at a different hosts file instead of the default/etc/hosts. π-ppasswdβ lets you point at a different passwd file instead of the default/etc/passwd. π-ggroupβ lets you point at a different group file instead of the default/etc/group. π-nnetidβ lets you point at a different netid file instead of the default/etc/netid. π§-ddomainβ by defaultmknetidjust uses the system domainname. but if it's not set, or you wish to override it (their spelling, not mine, bestie π), you gotta use the-dparameter. no way around it. π--versionβ prints the version number. that's it. that's the whole job. β
π 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>. king behaviour, fr fr. π«Ά
π and that's the whole page!! this was the NIS Reference Manual edition, dated 12/31/2020, page MKNETID(8). slay, bye bestie πβ¨π
π¦ where this page comes from
- debian bookworm: ypserv 4.2-1+b2 Β· GPL-2.0-only
- debian trixie: ypserv 4.2-2+b2 Β· GPL-2.0-only
- ubuntu jammy: ypserv 4.1-2 Β· GPL-2.0-only
- ubuntu noble: ypserv 4.2-2build2 Β· GPL-2.0-only
- ubuntu questing: ypserv 4.2-2build2
- ubuntu resolute: ypserv 4.2-3 Β· GPL-2.0-only
- ubuntu stonking: ypserv 4.2-3build1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms