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, tools, and much more.