• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Unable to create system user

Riemsesy

New Pleskian
Hello,
Problem:
Trying to create a new customer, creating a user for access to Plesk and a user for the subscription
results in Error
Error: Unable to create system user: Unable to execute usermng: usermng: /usr/sbin/useradd execution failed: useradd: Invalid configuration: UID_MIN (10000), UID_MAX (4999) useradd: can't create user usermng: Unable to add user: denoord2

info:
OS ‪CentOS Linux 7.5.1804 (Core)‬
Product Plesk Onyx
Version 17.5.3 Update #48, last updated on May 22, 2018 09:47 PM

how to fix this?
 
You have defined contradicting minimum and maximum user IDs for your system:
UID_MIN is set to 10000 and UID_MAX is at 4999. That basically prevents you from creating any user.

Check your file /etc/login.defs and correct the values there. Defaults are:
UID_MIN 1000
UID_MAX 60000
 
thanx..

the file says
UID_MIN 1000
UID_MAX 4999

so it seems right values in the file accept plesk sees differently?
 
Weird.
Please check your /etc/sysconfig/useradd file, maybe you have differing values in there?
Otherwise I'd suggest you try setting the value for UID_MAX in /etc/login.defs to 60000 (the default value) and try again.
 
Back
Top