When executing the command 'getent shadow root' as normal user showing the encrypted password of root

Solution Verified - Updated -

Issue

  • After enabling LDAP client on the system and running the following command (as any user on the system) is displaying the encrypted password of the root account.

    $getent shadow root
    root:<encrypted sha512 password>:14565:0:99999:7:::
    

Environment

  • Red Hat Enterprise Linux

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