/usr/bin/passmass does not cope with RHEL5 password prompts

Solution Verified - Updated -

Issue

  • Unable to run /usr/bin/passmass to change password on a remote host using ssh, rlogin, telnet.

# passmass -user newuser system1.example.com
old password:
new password:
retype new password:

spawn rlogin system1.example.com -l newuser

trying normal rlogin (/usr/bin/rlogin)
Password:
-bash-3.2$ passwd
Changing password for user newuser.
Changing password for newuser
(current) UNIX password:

passwd: Authentication token manipulation error
-bash-3.2$

Environment

  • Red Hat Enterprise Linux Server release 5.2 (Tikanga)
  • expect-5.43.0-5.1

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.