Why do new users added in RHEL 7 and 8 start at UID of 1000, and not 500?
Issue
- New user created on RHEL 7 and 8 has a UID above 1000, but on RHEL 6, it starts at 500
- Cannot log in on RHEL 7 or 8 after running RHEL 6 script that restricted home directory permissions for users above 500 in /etc/passwd
- Scripts that added/modified users worked on RHEL 6, but causes login issues on RHEL 7 and 8.
Environment
- Red Hat Enterprise Linux (RHEL) 6, 7 and 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.