NETID(5)

πŸ“¦ version 15.1, in freebsd 14.5, freebsd 15.1

πŸ’… 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 by mknetid(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