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.

  • Or maybe a 0 got omitted on GID_MAX – pacey Sep 28 '16 at 15:19
  • Surely possible, yes. – Sven Sep 28 '16 at 15:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.