How to Reset forgotten Root Password in Suse Enterprise Linux

How to Reset forgotten Root Password in Suse Enterprise Linux

by | Feb 4, 2024 | Hosting, Linux, Servers, VPS | 0 comments

How to Reset forgotten Root Password in Suse Enterprise Linux

To reset forgotten password hard reboot your affected VM or bare metal server, press arrow key to skip boot timeout from grub, then press “e”

edit suse grub

search for line start with “linuxefi” (some time instead of “linuxefi” you can find “linux” or “linux16”) and press “end” button

edit suse grub

at the end of the line type init=/bin/bash then press F10 or ctrl+x to boot

edit suse grub

now you can will be booted into shell, but it will in readonly mode, to change to read, write mode type following commands

mount -o rw, remount /

after that type

chroot /

reset suse linux password

to reset password type following command followed by user name.

passwd root

then type exit and
type reboot

Enjoy

Written By George Sruthin

Founder of techridez.com, A Tech Enthusiast, Linux lover.

Related Posts

Comments

0 Comments

0 Comments

Submit a Comment


Subscribe For Instant News, Updates, and Discounts

Pin It on Pinterest

Shares
Share This