2190 shaares
906 private links
906 private links
Forgot your Linux root password? No worries! Our guide provides easy-to-follow instructions to reset and change it safely.
TL;DR
In GRUB menu:
- Find the line starting with “linux” and make sure it contains
rw
and notro
. - Then go and append
init=/bin/bash
to the end of the line. - Press Ctrl+x to start boot process.
- Change password
passwd
.