You are on page 1of 1

Recovering the Linux shadow password file:

Follow below steps to recover the linux password


1.

Reboot Server or Turn On Machine

2.

Select Recovery Mode for the version of kernel that you wish to boot

3.
4.

Add init=/bin/bash to the end of the kernel command line


Boot The Kernel

5.
6.
7.
8.
9.

Remount / with mount -rw -o remount


Run pwconv
Run passwd to set root password
Run sync to flush filesystem buffers
Reboot

You will need to set security on the rest of the accounts without passwords.

You might also like