lgroupmod(1)
π lgroupmod β modify a user group, bestie edition π
okay so this is lgroupmod, a lil tool from the libuser manual (section 1, general commands, yes ma'am π). it's giving "edit a group, but make it fashion" β¨
β¨ SYNOPSIS β¨
lgroupmod [OPTION]... group
πΈ DESCRIPTION πΈ
so basically? lgroupmod modifies the user group whose name is group. that's the whole vibe. one group, a bunch of options, endless possibilities π
π OPTIONS π
-A,--admin-add=list β adds the users in the comma-separated list to the group's administrators. new admins, who dis π«Ά-a,--admin-remove=list β removes the users in the comma-separated list from the group's administrators. and if you try to remove someone who isn't even an admin right now? it just silently succeeds. no drama, no error, we move on π-g,--gid=gid β changes the group's group ID to gid. glow-up for the GID fr fr-i,--interactiveβ asks all the questions when connecting to the user database, even if there are default answers already set up in the libuser configuration. it's nosy on purpose, and honestly? iconic π-L,--lockβ locks the group. this stops users from using the group password withnewgrp(1)to become a member of the group. it's giving do not pass go π-M,--member-add=list β adds the users in the comma-separated list to the group's members. welcome to the group chat bestie π-m,--member-remove=list β removes the users in the comma-separated list from the group's members. and same as above: removing people who aren't currently members just silently succeeds. no hard feelings β¨-n,--name=name β renames the group to name. rebrand era π-P,--plainpassword=password β sets the group's password to password. > heads up bestie: the password can be viewed whilelgroupmodis running by tools likeps(1). so likeβ¦ everyone can see it. be careful π-p,--password=encrypted β sets the group's password to the password represented by the hash encrypted. > same warning energy: that hash can be viewed whilelgroupmodis running by tools likeps(1). protect your hashes, queen π«Ά-U,--unlockβ unlocks the group. free her π
β EXIT STATUS β
the exit status is 0 on success, and nonzero on error. that's it, that's the tea β
and that's the whole page!! this was from the libuser manual, dated Jan 11 2005 (a vintage classic, honestly), and the man page is literally just called lgroupmod(1). slay, periodt, go modify some groups πβ¨π¦
π¦ 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