group(5)

๐Ÿ‘‘ group(5) โ€” the user group file, bestie edition

okay so you want the tea on group(5)? it's a section 5 (File Formats Manual) page, and it's literally the manual page for the user group file. it's short, it's iconic, it's giving "small but powerful." let's go ๐Ÿ’…


โœจ NAME โœจ

group โ€” the user group file. that's it, that's the whole vibe ๐ŸŽ€


๐ŸŒธ DESCRIPTION ๐ŸŒธ

the file /etc/group is a text file that defines all the groups on your system. one entry per line, no cap. and every single line has this exact shape:

group_name:password:GID:user_list

now let's break down the fields one by one, because the way this colon-separated situation works is lowkey important ๐Ÿฆ‹

  • group_name โ€” the name of the group. what it says on the tin, honestly.
  • password โ€” the (encrypted) group password. and listen: if this field is empty, then no password is needed at all. empty = free entry, periodt.
  • GID โ€” the numeric group ID. numbers only, bestie, this is the group's literal ID card ๐Ÿ”ฅ
  • user_list โ€” a list of the usernames that are members of this group. and how do we separate them? with commas. commas are the friendship bracelets holding this list together, fr fr.

๐Ÿ“ FILES ๐Ÿ“

  • /etc/group โ€” yes, the whole entire file. that's the file. that's the star of the show โœจ

๐Ÿ’€ BUGS ๐Ÿ’€

okay so this is the part where even the man page is like "yeah... it's rough."

as the 4.2BSD initgroups(3) man page says: no one seems to keep /etc/group up-to-date.

not me reading that and feeling personally attacked ๐Ÿ˜ญ it's a real problem though โ€” this file gets stale and nobody's maintaining it. keep an eye on it, bestie, okay? ๐Ÿซถ


๐Ÿฆ‹ SEE ALSO ๐Ÿฆ‹

go forth and read these too, they're all part of the same little ecosystem:


๐Ÿ’– and that's the whole page! shoutout to the Linux man-pages 6.20 release, dated 2025-05-17 โ€” the date that blessed this little group(5) page into existence. slay. now go check your /etc/group before it embarrasses you ๐Ÿ™ˆ๐Ÿ‘‘
๐Ÿ“ฆ where this page comes from
  • arch rolling: man-pages 6.20-1 ยท BSD-2-Clause AND BSD-3-Clause AND BSD-4.3TAHOE AND BSD-4-Clause-UC AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-linking-exception AND LGPL-3.0-or-later AND LicenseRef-Public-Domain AND LicenseRef-UltraPermissive AND Linux-man-pages-1-para AND Linux-man-pages-copyleft AND Linux-man-pages-copyleft-2-para AND Linux-man-pages-copyleft-var AND MIT AND Spencer-94
  • nixpkgs unstable: man-pages 6.20
  • ๐Ÿ“œ the page's license: GPL-2.0-or-later
  • ๐Ÿ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms