Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-23-2013, 08:46 AM   #1
LQ Newbie
Registered: Sep 2013
Posts: 21

Rep: Reputation: Disabled
What is the purpose of group administrator and gpasswd vs usermod

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.
Old 09-23-2013, 09:14 AM   #2
Registered: Jul 2009
Posts: 619

Rep: Reputation: 42
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.

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

usermod -g user group
makes the group the users primary group
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
usermod - add user to group deletes from others gjhicks Linux - Newbie 3 06-18-2014 02:31 AM
Command gpasswd on OpenSUSE to delete user from group. vickyk Linux - Newbie 2 01-06-2012 12:52 PM
usermod: unknown group proxy OIF1veteran Linux - Newbie 4 11-17-2011 04:48 PM
How do I usermod a list of users into a group? Mongul Linux - General 4 11-16-2011 07:51 AM
usermod error woth group Evan P. Red Hat 3 10-02-2003 09:49 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:19 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration