Howto Recover a Linux Root Password
This post is intended for users that forgot the root passwords or can’t use it due to other problems (corrupted file /etc/passwd or whatever). Can also be used to gain unauthorized to linux machines, but don’t do that.
What to do
Boot using a recovery CD or DVD.
Mount the drive
mount /mnt /dev/sda2
Replace the existing root password with an empty one
sed /^root/s/.*:root:/root::0:0:root:/ /mnt/etc/passwd
And reboot – and you are done
Related posts:
- Howto: How to Reset the MySQL Root Password
- Recover (Crack) a password from a Microsoft Access Database (mdb)
- Crack or Recover Password Protected Excel Spreadsheet
- How to hack Windows password with Ophcrack
- Crack or Recover Read-only Password Protected Word Document
- HackerGuide: Crack Password Encrypted Zip-files
- Howto Create a libstdc++ Compat on Debian (e.g. libstdc++-libc6.2-2.so.3)
- Ubuntu Howto: Install Xen
- Crack zip password with fcrackzip
- Password Manager – based on gnupg
Popular Related Items »
Incoming search terms
- xen vm change root password
- recovering xen vm root passwd
- recover root password gnome
- recover linux root password from xen
- nsping
- linux root password retriever
- linux root hacks
- linux root crack
- linux reset theme
- linux recover root password using dvd
- linux mysql root passwd
- recovery password of linux
- recovery password root Xen
- xen source reset root password
- xen reset root password
- ubuntu9 recoveing root password
- ubuntu 9 10 root crack
- ubuntu 9 10 forgot root password
- søren soltveit linux site: dk
- root passwort von debian knacken
- root passwort knacken
- root password geknackt debian
- retrieving passwords ubuntu 9
- kde linux root password crack
- howto iphone passwort knacken mit linux
- hack root ubuntu9 10
- hack root senha linux
- hack linux root password
- freebsd crack root password
- free themes for alinux
- fedora 13 corrupting root password
- crack root pass ubuntu
- crack mysql root password
- crack gnome linux root password
- crack debian root password
- hack ubuntu root pass
- hacking linux forgot the root password
- how to retrieve password in ubuntu 9-10
- how to retrieve linux root password from java
- how to recover ubuntu 9 10 root password
- how to recover root password in fedora 10
- how to hack ubuntu 9 10 root password
- how to hack root password in linux kde
- how to hack linux root password
- how to hack linux kernel root password
