Monitoring, Management & Location Tracking

 View Only
last person joined: one year ago 

Articles relating to existing and legacy HPE Aruba Networking products and solutions including AirWave, Meridian Apps, ALE, Central / HPE Aruba Networking Central, and UXI / HPE Aruba Networking User Experience Insight

Can't change root password using passwd command 

Jun 09, 2014 06:22 PM

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:

root:$1$UABo9oks$ZKaI02.yx1w0ZYAYJYkNG/:13549:0:99999:7:::

to this: 

root::13549:0:99999:7:::

3. Save the changes from within vi:

:w!

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

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.