Saturday, 18 November 2017

Password reset methods for different Linux distro

Hello friends!!! I want to share password reset methods for different Linux distro! You are welcome to add new.. Here is some assumptions when you write for It :



  • Username is 'Linux', You can replace Linux with anything as ur case
  • Linux is installed in /dev/sda1, You may replace the /dev/sda1 with ur drive...
  • OS installation drive is not encrypted
  • Cant help in resetting BIOS password
 Ubuntu :
  • Boot from Live CD, You can use Ubuntu itself or any other...
  • Go to super user mode shell using sudo command

sudo su

  • Mount whole file system under mount using command mount.

mount /dev/sda1 /mnt

  • Now u need to chroot to /mnt with sudo command

chroot /mnt /bin/sh

  • Okay now here is babystep, password will not be shown...

passwd Linux
Enter new UNIX password :
Verify password :

  • Just reboot and use your new password to login...

FOLLOW my this blog &

Like me on Fcebook.

No comments:

Post a Comment