CentOS Stream 9
Sponsored Link

Commands Help

Command :   Back to index

gpasswd : administer /etc/group and /etc/gshadow
[SYNOPSIS] gpasswd OPTION GROUP
OPTION
-A set the list of administrators for GROUP
# gpasswd -A user group
add the administrator of group as user
-a USER add USER to GROUP
# gpasswd -a user group
-d USER remove USER from GROUP
-Q CHROOT_DIR directory to chroot into
-r remove the GROUP's password
-R restrict access to GROUP to its members
-M set the list of members of GROUP

Matched Content