NETID(5)
π NETID(5) β the YP network credential file, bestie β¨
okay so before we even start: this is the netid page from the File Formats Manual section, and honestly? she's a rare little queen. let's get into it π
πΈ NAME πΈ
netid β the YP network credential file. that's it, that's the vibe. π
β¨ DESCRIPTION β¨
okay so real talk: files in netid format are rare. like, genuinely rare, not "rare" in a cute way. one of them lives in the YP map netid.byname β that's her home π
the format is rather simple, ngl. each row consists of two items: a key and a value. no cap. when created by mknetid(8) there are three types of records. THREE. let's go through them π
π¦ the first type
this one's all about which GIDs a UID has:
unix.β¨uidβ©@β¨yp-domainβ© β¨uidβ©:β¨gidβ©,β¨gidβ©
periodt. that's the UID β GID situation π
π¦ the second type
this one's got information about hosts:
unix.β¨hostnameβ©@β¨yp-domainβ© 0:β¨hostnameβ©
host info, slay π«Ά
π¦ the third type
the third type refers to records from a netid file other than the two types above. yep β the leftovers have a category too, and honestly? iconic of them. π
π FILES π
/etc/netidβ for lines not generated automatically bymknetid(8)β¨
π₯ EXAMPLES π₯
a configuration file might look like the following β main character energy fr fr:
unix.10714@kaka 10714:400,10
unix.jodie@kaka 0:jodie
like?? jodie said "i'm in this file" and honestly good for her π
π SEE ALSO π
go read those too, iykyk π
π AUTHORS π
- Mats O Jansson
<moj@stacken.kth.se>β the legend who made this happen π«‘
β cute little sign-off: this was from the Debian flavour of the page, dated January 13, 1996, and yes the date is older than most of us but she still ate. bye bestie! π β¨
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright (c) 1996 Mats O Jansson <moj@stacken.kth.se>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms