LinuxQuestions.org
Visit Jeremy's Blog.
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 03-29-2011, 02:32 PM   #1
Hewson
Member
 
Registered: Feb 2007
Location: /home
Distribution: Kubuntu and CentOS
Posts: 214

Rep: Reputation: 32
what is a system group


So I wanted to add a user to a new group. step 1 was to add the group. It'd been a while so i looked at man before executing the command for addgroup. There was the option of a

"system group"

Whats the difference between a system group and a user group?


From the man page ...
Code:
   Add a user group
       If adduser is called with the --group option and without the --system option, or addgroup is called respectively, a user  group  will
       be added.

       A GID will be chosen from the range specified for system GIDS in the configuration file (FIRST_GID, LAST_GID). To override that mech‐
       anism you can give the GID using the --gid option.

       The group is created with no users.

   Add a system group
       If addgroup is called with the --system option, a system group will be added.

       A GID will be chosen from the range specified for system GIDS in the configuration file (FIRST_SYSTEM_GID, LAST_SYSTEM_GID). To over‐
       ride that mechanism you can give the GID using the --gid option.

       The group is created with no users.
 
Old 03-29-2011, 02:40 PM   #2
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 3,774
Blog Entries: 1

Rep: Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339
System groups are GIDs below 500.

User groups are above 500.

Other than that,.. im unsure of any difference.
 
1 members found this post helpful.
Old 03-29-2011, 03:25 PM   #3
splintercdo
Member
 
Registered: Feb 2011
Posts: 132

Rep: Reputation: 9
szboardstretcher actually you are incorrect!

as you can see Hewson uses Kubuntu and in all debian systems gid's are defined like this:
http://www.debianhelp.co.uk/usersid.htm
 
Old 03-29-2011, 03:38 PM   #4
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 3,774
Blog Entries: 1

Rep: Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339
Quote:
Originally Posted by splintercdo View Post
szboardstretcher actually you are incorrect!

as you can see Hewson uses Kubuntu and in all debian systems gid's are defined like this:
http://www.debianhelp.co.uk/usersid.htm
Ok,.. I am *not* going to sit here and type out every user/system GID range on every OS that exists. But I will offer this piece of information:

This range can be specified. So, Debian can have one range, fedora another, slackware another, solaris another, Hp/ux another, redhat another, centos another... etc... etc...

There you have it. Make your own "System Group" and "User Group" range if you feel like it.
 
  


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
AIX: root group and system group quanba AIX 6 09-01-2009 03:10 AM
Samba system/user policies for particular group haariseshu Linux - Server 0 03-13-2009 09:03 AM
Do you have a 'nobody' group in your system? Akhran Debian 3 03-13-2006 10:22 PM
Group Admin, Group Root, or God over Group crickett Linux - General 5 07-12-2004 05:01 PM
changing group of a system user porous Linux - General 4 10-21-2003 11:39 AM


All times are GMT -5. The time now is 03:06 AM.

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