Debian root password recovery if forgotten
1. Reboot machine and on the grub menu, edit the line for your
kernel and add the following at the end --
init=/bin/bash
2. Once at the root prompt, put the following
command --
mount -o remount,rw /
3. Use following command to change root password --
passwd root
4. Reboot
machine with "halt" or "ctrl alt del" keystrokes.
No comments:
Post a Comment