You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, this is a small trick I had to use once [(original article)](https://linuxconfig.org/how-to-reset-an-administrative-root-password-on-xenserver-7-linux)
427
-
428
-
* Reboot your XenServer into Grub boot menu.
429
-
* Use arrows keys to locate an appropriate XenServer boot menu entry and press **e** key to edit boot options.
430
-
* Locate read-only parameter **ro** and replace it with **rw**. Furthermore, locate keyword **splash** and replace it with **init=/bin/bash**.
431
-
***Hit F10** to boot into single-mode
432
-
* Once in single-mode use **passwd** command to reset your XenServer's root password
433
-
* Reboot xenserver by entering the command **exec /usr/sbin/init**
434
-
* If everything went well you should now be able to login with your new XenServer password.
426
+
If you need to modify your XCP-ng root password, you may follow the steps below. The full prodecure can also be found on [this page](https://support.citrix.com/article/CTX214360).
427
+
428
+
* Reboot your XCP-ng into Grub boot menu.
429
+
* Select XCP-ng boot menu entry and press <kbd>e</kbd> key to edit boot options.
430
+
* Locate the read-only parameter ```ro``` and replace it with ```rw init=/sysroot/bin/sh```.
431
+
* Press <kbd>Ctrl</kbd> + <kbd>X</kbd> to boot into single-mode.
432
+
* From the Emergency Mode prompt, execute the command **chroot /sysroot**.
433
+
* Once in single-mode, use ```passwd``` command to reset your XCP-ng root password.
434
+
* Reboot XCP-ng by sending <kbd>Ctrl</kbd> + <kbd>Alt</kbd> + <kbd>Suppr</kbd>.
435
+
* If everything went well, you should now be able to login with your new XCP-ng password.
0 commit comments