Root password

login: root
Password:
login: Authentication failure
Sorry.

The story begins badly. If you’ve forgotten the root password of an old linux station, like me this week-end, you’ve got a last change:

  • reboot the system,
  • boot by using /bin/bash as init,
  • remount in read/write the root filesystem
  • change the root password.

Something like that:

linux init=/bin/bash
mount -o remount,rw /
passwd
reboot

You’ve just saved few hours ;o) Thanks to Tony Lawrence for his lostlinuxpassword page.

Tags: , , ,

Leave a Reply