Link to home
Start Free TrialLog in
Avatar of dissolved
dissolved

asked on

gpasswd command and one question

I know gpasswd can be used to make a user an admin of a group, correct?

gpasswd -A <user name> <group name>

Is there anyway to tell who is an admin of what group?
thanks
ASKER CERTIFIED SOLUTION
Avatar of Mysidia
Mysidia
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dissolved
dissolved

ASKER

hmm i'm confused. Can you elaborate?
thanks
I see, there are no admins of groups by default.

If you would like, you can designate admin privileges to certain groups with the gpasswd -A <username> <groupname> command.  What kind of access will the designated admins have? Am I understanding correct?
Thanks
Right, a group has no group admin by default.

Generally the 'group admins' can use the gpasswd <group>
command to set a password for the group and add or remove
members

using
gpasswd -a user group

or
gpasswd -d user group

respectively