lgroupadd(1)

πŸ’– lgroupadd β€” bestie's guide to making a whole new group πŸ’–

okay so this is lgroupadd(1), from the libuser girlies, and it's literally the manual page for adding a new user group. no cap. it lives in the General Commands Manual section (that's section 1, iykyk πŸŽ€), and it is short, sweet, and absolutely iconic.


✨ NAME ✨

lgroupadd β€” Add an user group 🫢

🌸 SYNOPSIS 🌸

lgroupadd [OPTION]... group

πŸ¦‹ DESCRIPTION πŸ¦‹

Adds a new user group with name group. that's it. that's the whole job. she's a one-task queen and she ate πŸ’…

πŸ‘‘ OPTIONS πŸ‘‘

  • -g, --gid=gid β€” use group ID gid for the newly created group. if you don't pass this option, a group ID gets selected automatically. she'll pick for you, no stress ✨
  • -i, --interactive β€” ask all the questions when connecting to the user database, even if default answers are already set up in the libuser configuration. so like, even if your config already has opinions, she's gonna ask you anyway. main character energy, lowkey πŸ™ˆ
  • -r, --reserved β€” the group is a system group. groups that are not marked as system groups usually get automatically selected group IDs above a certain value (and that value is configured as LU_GIDNUMBER in libuser.conf(5), bestie, go read it). this information is also passed to the libuser backends. so it's not just a vibe, it's actually communicated downstream πŸ’œ

πŸ’€ EXIT STATUS πŸ’€

the exit status is 0 on success, and nonzero on error. that's it. zero means slay, nonzero means something went sideways 😭


so yeah, that's the whole page. short, iconic, no filler. shoutout to the libuser era β€” this page is dated Jan 11 2005, and it's sourced from libuser. periodt πŸ’…πŸŒˆβ­