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:
chgrp(1)gpasswd(1)groups(1)login(1)newgrp(1)sg(1)getgrent(3)getgrnam(3)gshadow(5)passwd(5)vigr(8)
๐ 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