How to Reset forgotten Root Password in Suse Enterprise Linux

How to Reset forgotten Root Password in Suse Enterprise Linux

by George Sruthin | 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

The Inspiration Behind This Article ⭐

Special thanks to Jake on LinkedIn for the inspiration behind this blog post. Your thoughts on the "Ivory Tower" concept encouraged me to expand on the idea and explore how it impacts leadership, IT, and organizational decision-making.

Written By George Sruthin

👋 Hi, I'm George Sruthin, founder of TechRidez. 💻 I help IT professionals solve real-world infrastructure challenges through practical guides on 🐧 Linux, ☁️ Cloud, 🖥️ Virtualization, 💾 Enterprise Storage, 🔐 Cybersecurity, 🌐 Networking, and ☁️ Backup Solutions.

Related Posts

Comments

0 Comments

0 Comments

Submit a Comment


Subscribe For Instant News, Updates, and Discounts

Pin It on Pinterest

Shares
Share This