lgroupmod - Modify an user group
lgroupmod [OPTION]... group
Modifies the user group with name group.
-A, --admin-add=list Add users in comma-separated list among groups administrators.
-a, --admin-remove=list Remove users in comma-separated list from groups administrators. Removing users that are not currently among groups administrators silently succeeds.
-g, --gid=gid Change groups group ID to gid.
-i, --interactive Ask all questions when connecting to the user database, even if default answers are set up in libuser configuration.
-L, --lock Lock group. This prevents users from using the group password with newgrp(1) to become a member of group.
-M, --member-add=list Add users in comma-separated list among groups members.
-m, --member-remove=list Remove users in comma-separated list from groups members. Removing users that are not currently among groups members silently succeeds.
-n, --name=name Rename group to name.
-P, --plainpassword=password Set groups password to password. Note that the password can be viewed while running lgroupmod using tools such as ps(1).
-p, --password=encrypted Set groups password to the password represented by the hash encrypted. Note that the hash can be viewed while running lgroupmod using tools such as ps(1).
-U, --unlock Unlock group.
The exit status is 0 on success, nonzero on error.
|libuser||lgroupmod (1)||Jan 11 2005|