Why root user is unable to change a password of normal user's ?

Solution Verified - Updated -

Issue

  • Why root user is unable to change a password of normal user's ?
  • While changing password of normal user as root user, passwd command gives  following error.

    [root@example ~]# su - mysql
    -bash-4.1$ passwd
    Changing password for user mysql.
    Changing password for mysql.
    (current) UNIX password:
    passwd: Authentication token manipulation error
    

Environment

  • Red Hat Enterprise Linux 6
  • /etc/shadow

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