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 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.