How to change forgotten Root Password in XenServer

Activelobby
Oct 12, 2021

--

By Sujin Sam Mathews

change root password Xenserver

Reboot the server and wait for the Grub screen.

Once the Grub screen materializes immediately press the button “e” to enter edit mode.

change forgotten Root Password in XenServer

Replace the highlighted portion with the below text as shown in the next image. Even if the surrounding contents appear different it should be ok.

rw init=/sysroot/bin/sh

guide to change forgotten password in XenServer

Once this change has been done, press “ctrl” and “X” together to boot into single-user mode.

Within the emergency, mode type the following.

chroot /sysroot

Followed by
Passwd

The passwd command will let us input the required password and have us confirm the same. Once completed, Reboot the server again from the Xen console and the newly resetted password must work like a charm.

Discover Our Services: Supportlobby.com

--

--

Activelobby

Activelobby is a cloud , Managed services Customer service and Professional service Provider having clients across the globe. Connect with us today