[CentOS] groupadd failure

Leon Fauster leonfauster at googlemail.com
Thu Sep 3 11:07:51 UTC 2015


Am 03.09.2015 um 10:33 schrieb isdtor <isdtor at gmail.com>:
> On 02/09/2015, Greg Lindahl <lindahl at pbm.com> wrote:
>> Sorry, I didn't read what you said carefully enough -- it's trying to
>> create a system group. Still, looking inside of /etc/group to see what
>> system groups already exist is probably a good idea.
> 
> This is not exactly trivial to figure when there's no documentation
> what the system group limits actually are. There's a very indirect
> mention in the same man page, "Values between 0 and 999 are typically
> reserved for system accounts.", but I bet that's just the usual case
> of generic documentation not tailored to the distribution.
> 
> The highest id in the group file is 499. Combined with the error, this
> could be consistent with a SYS_GID_MAX of 499. But no ids between 189
> and 485 have been assigned at all. Is groupadd really this limited?


there exist a distinction between normal and system accounts/groups.
For example: everything under 499 are system accounts (e.g. daemons)
and 500 is your first user account ...

--
LF














More information about the CentOS mailing list