I am running a service as root. This service creates a user and a group but fails at creating a user with the above error
how can this be fixed?
The values are defined in /etc/login.defs
. Obviously, GID_MIN
being larger then GID_MAX
doesn't make sense and you should be able to just change the values to something making more sense.
That leaves the question why the values are set to that - I would guess someone mixed things up while editing the file.