Why do new users added in RHEL 7 and 8 start at UID of 1000, and not 500?

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content