Can't change root password using passwd command

Aruba Employee
Aruba Employee

Q. I'm trying to change the root password, but it always fails with this error:

"passwd: Authentication failure"

A. There's a known issue in a version of Linux we used to ship which causes it. You can work around it like this:

1. Open the /etc/shadow file in vi

# vi /etc/shadow

2. Delete root's password by removing the encrypted password string, between two colons. For example, I made the change here by changing this:


to this: 


3. Save the changes from within vi:


4. Use the passwd command to create your new password:

Version history
Revision #:
1 of 1
Last update:
‎06-09-2014 03:22 PM
Updated by:
Labels (1)
Search Airheads
Showing results for 
Search instead for 
Did you mean: