LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: Disabled
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.
 
Old 09-23-2013, 10:14 AM   #2
cbtshare
Member
 
Registered: Jul 2009
Posts: 610

Rep: Reputation: 42
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
 
1 members found this post helpful.
  


Reply


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 03:31 AM
Command gpasswd on OpenSUSE to delete user from group. vickyk Linux - Newbie 2 01-06-2012 01:52 PM
usermod: unknown group proxy OIF1veteran Linux - Newbie 4 11-17-2011 05:48 PM
How do I usermod a list of users into a group? Mongul Linux - General 4 11-16-2011 08:51 AM
usermod error woth group Evan P. Red Hat 3 10-02-2003 10:49 AM


All times are GMT -5. The time now is 12:58 PM.

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