Réinitialiser le mot de passe root pour Proxmox

De Wiki de Mémoire Vive
Révision datée du 13 décembre 2023 à 00:09 par 192.168.2.1 (discussion) (Page créée avec « J'ai cherché une procédure pour réinitialiser mon mot de passe root pour Proxmox, voici ce que j'ai trouvé, et qui reste à tester, https://pve.proxmox.com/wiki/Root_Password_Reset Illustré aussi par cette vidéo, https://www.youtube.com/watch?v=hHKLsJTQwhM&ab_channel=simplixITe Method 1 Boot into grub, select single user but do not press enter. *Press e to go into edit mode. *Scroll down to the kernel line you will boot from, it starts with "linux /boot/... »)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
Aller à la navigation Aller à la recherche

J'ai cherché une procédure pour réinitialiser mon mot de passe root pour Proxmox, voici ce que j'ai trouvé, et qui reste à tester,

https://pve.proxmox.com/wiki/Root_Password_Reset

Illustré aussi par cette vidéo, https://www.youtube.com/watch?v=hHKLsJTQwhM&ab_channel=simplixITe

Method 1 Boot into grub, select single user but do not press enter.

  • Press e to go into edit mode.
  • Scroll down to the kernel line you will boot from, it starts with "linux /boot/vmlinuz-……."
  • Scroll to the end of that line and press space key once and type init=/bin/bash
  • Press Ctrl X to boot
# Remount / as Read/Write 
mount -rw -o remount /
# Change the root account password with
passwd
# Change any other account password with
passwd username

# type new password, confirm and hit enter and then reboot.