• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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