Why does login prompt fails to fetch user attributes and shows "I have no name!" at login prompt?

Solution Verified - Updated -

Issue

  • Received below error while login, by user that is not able to find the user id and group id.
[root@localhost ~]# su - test
id: cannot find name for user ID 1004
id: cannot find name for group ID 1004
id: cannot find name for user ID 1004
[I have no name!@localhost ~]$
  • User information such as uid, username and gid is not returned by the system.

Environment

  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.