Permissions
gpasswd
Administer group passwords and membership.
userpermissionsadmin
Additional Notes
gpasswd is a user and permission command used to administer group passwords and membership. It allows administrators to add or remove group members, set group passwords, and designate group administrators. Users can also use it to change their group password.
Syntax
gpasswd [options] [user-or-target]
Parameters
options: Flags that change howgpasswdbehaves.user: User account affected by the command.group: Group account affected by the command.file: File or directory whose ownership, mode, or access policy is being changed.
Common Options
--help: Show command help when supported.--version: Show version information when supported.
Examples
gpasswd --help
man gpasswd
Practical Notes
Options can vary by distribution and package version. Use man gpasswd, gpasswd --help, or the package documentation for exact syntax.