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 thelibuserconfiguration. 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 asLU_GIDNUMBERinlibuser.conf(5), bestie, go read it). this information is also passed to thelibuserbackends. 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 π
πβ
π¦ where this page comes from
- alpine 3.24: libuser-doc 0.64-r2 Β· LGPL-2.0-or-later
- centos-stream 10: libuser 0.64-12.el10 Β· LGPL-2.0-or-later
- centos-stream 9: libuser 0.63-17.el9 Β· LGPLv2+
- centos-stream 9: libuser 0.63-17.el9 Β· LGPLv2+
- debian bookworm: libuser 1:0.64~dfsg-1 Β· LGPL-2.0-or-later
- debian trixie: libuser 1:0.64+git20241106~dfsg-3 Β· LGPL-2.0-or-later
- fedora 43: libuser 0.64-16.fc43 Β· LGPL-2.0-or-later
- fedora 43: libuser 0.64-16.fc43 Β· LGPL-2.0-or-later
- fedora 44: libuser 0.64-17.fc44 Β· LGPL-2.0-or-later
- fedora 44: libuser 0.64-17.fc44 Β· LGPL-2.0-or-later
- opensuse-leap 16.0: libuser 0.64-bp160.1.1 Β· LGPL-2.0-or-later
- opensuse-leap 16.0: libuser 0.64-bp160.1.1 Β· LGPL-2.0-or-later
- opensuse-leap 16.0: libuser 0.64-bp160.1.1 Β· LGPL-2.0-or-later
- opensuse-leap 16.0: libuser 0.64-bp160.1.1 Β· LGPL-2.0-or-later
- ubuntu jammy: libuser 1:0.63~dfsg-4build1 Β· LGPL-2.0-or-later
- ubuntu noble: libuser 1:0.64~dfsg-2build2 Β· LGPL-2.0-or-later
- ubuntu questing: libuser 1:0.64+git20241106~dfsg-3
- ubuntu resolute: libuser 1:0.64+git20241106~dfsg-4build1 Β· LGPL-2.0-or-later
- ubuntu stonking: libuser 1:0.64+git20241106~dfsg-4build1 Β· LGPL-2.0-or-later
- Copyright (C) 2005 Red Hat, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms