2704 shaares
991 private links
991 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
rwand notro. - Then go and append
init=/bin/bashto the end of the line. - Press Ctrl+x to start boot process.
- Change password
passwd.