• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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