LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   What is the purpose of group administrator and gpasswd vs usermod (https://www.linuxquestions.org/questions/linux-newbie-8/what-is-the-purpose-of-group-administrator-and-gpasswd-vs-usermod-4175478199/)

makupl 09-23-2013 08:46 AM

What is the purpose of group administrator and gpasswd vs usermod
 
Hello.
Maybe the questions sound trivial but I can't fully explain to myself following and there is only instruction how to do it but not discussing fuctionality.
1. What is practical fuctionality of group adminstrator? (gpasswd -A)
What is the role of group administrator?

2. What is the difference between gpasswd -a and usermod -g

I'm confused now.

cbtshare 09-23-2013 09:14 AM

Quote:

gpasswd -A user group
makes the user the administrator of that groups(private group), so they can add and delete other users to the group, that's the role of the group admin.

Quote:

gpasswd -a user group
simply adds a user to the group

Quote:

usermod -g user group
makes the group the users primary group


All times are GMT -5. The time now is 07:26 PM.