Useradd hangs while trying to add a system user
Issue
-
Red Hat Enterprise Linux 6:
- While trying to add a system user using
useraddwith-ror--systemoption, the command never terminates untilCtrl-Cis pressed. - Installation of some packages using
yummay hang onuseradd.
- While trying to add a system user using
-
Red Hat Enterprise Linux 7:
-
While trying to add a system user using
useraddwith-ror--systemoption, the command takes long to complete and show the following error:useradd: Can't get unique system UID (Numerical result out of range). Suppressing additional messages. - The system user is added to
/etc/passwd, and/etc/shadowor remote database correctly.
-
Environment
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
shadow-utils
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
