Lupa Password Proxmox VE dan Cara Mengatasinya

Solusi : Modifying the Boot Loader ianya adalah dengan memodifikasi boot loader linux sebagai berikut :

Step 1 – Boot your Proxmox VE machine. In the boot menu screen, you select your boot option and instead of pressing enter to proceed, you simply press “e” on your keyboard.

resetpvepwd_1

This will bring you to screen where you can edit the boot configuration file and modify the way the system will boot.

resetpvepwd_2

Step 2 – Append the following text at the end of the line starting with linux :
init=/bin/sh

resetpvepwd_3

At this stage, simply press ctrl+x to boot your system.

Step 3 – Mount the filesystem

The system will boot in console mode. You will see something like this.

resetpvepwd_4

At the command line, you will have to type the following command :
mount -o remount rw /

resetpvepwd_5

Step 4 – Reset the password for the root account.

We are almost done. In order to reset the password, you will have to digit the command passwd.  You will be asked to enter your new password and confirm it.

resetpvepwd_6

When it’s done, simply reboot your system and try to login using the newly resetted password.  You should be able to login into your Proxmox VE system.

Baca Cara ini juga :

Debian Squeeze change root password

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, it starts with “linux /boot/vmlinuz-2.6…….
  • 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 password with
passwd
 
# type new password, confirm and hit enter and then reboot.

Method 2

  • Boot from another installation of Debian. (One can use a LiveCD to get access to the “/” partition.)
  • Then, mount the partition where you have Squeeze’s “/”, then changed directory to /mnt/etc
  • Used vim / nano as an editor to edit the file shadow.
  • Find the line starting with root:
  • Delete everything between the first and second colons (:), and the line will now look like:
root::$6$fsdsdgdsg74.:14862:0:99999:7:::
  • Reboot as root without a password.
  • At the end use passwd to set a new root password.
  • Reboot and login as root with the new root password.

End Notes.

 

Leave a comment