• news
  • pics
  • linux
  • windows
  • proxmox
  • game
  • news
  • pics
  • linux
  • windows
  • proxmox
  • game
Home
proxmox

Resetting the root account password on the PVE Host

The following is quoted from Debian Squeeze change root password and works for Proxmox VE3.x and 4.x (It can also be used to change any account password as well as for other Debian based distributions):

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.

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 Debian’s “/” (root directory), then change directory to /mnt/etc
  • Used vim / nano as an editor to edit the file shadow.
  • Find the line starting with root: (or another username)
  • Delete everything between the first and second colons (:), and the line will now look like:
root::$6$fsdsdgdsg74.:14862:0:99999:7:::
  • Reboot and login as root (or another username as used above) without a password.
  • At the end use passwd to set a new password for the root account (or passwd username to change any account password).
  • Reboot and login as root with the new root password.

Resetting the root account password in a Container

  • Enter the working container and change the password using:
pct enter <VEID>
passwd <new password>
exit

  • When using OpenVZ containers (up to PVE 3.4) use
vzctl enter <VEID>

to enter the container.

Previous article Proxmox Compatible Hardware
Next article Fixing Blue Screen of Death in Windows 10

therock

26 Comments

  1. the best of tinder
    May 15, 2021 at 2:55 pm

    the best of tinder

    Resetting the root account password on the PVE Host – rock funs

  2. fake facebook for tinder
    May 16, 2021 at 2:57 pm

    fake facebook for tinder

    Resetting the root account password on the PVE Host – rock funs

  3. are there any real free dating websites
    May 20, 2021 at 2:39 am

    100 free online dating service for singles

  4. free couple dating sites uk
    May 20, 2021 at 3:33 am

    free online dating in austin texas

  5. cialis online india
    May 20, 2021 at 6:48 am

    cialis online india

    Resetting the root account password on the PVE Host – rock funs

  6. free dating website for seniors
    May 20, 2021 at 8:19 pm

    free armed forces dating uk

  7. mastercard generic cialis
    May 21, 2021 at 1:54 am

    mastercard generic cialis

    Resetting the root account password on the PVE Host – rock funs

  8. canadian pharmacy comparison
    May 22, 2021 at 1:52 am

    canadian pharmacy comparison

    Resetting the root account password on the PVE Host – rock funs

  9. how do you get cialis
    May 22, 2021 at 10:44 am

    how do you get cialis

    Resetting the root account password on the PVE Host – rock funs

  10. when will generic cialis be available
    May 25, 2021 at 11:23 pm

    when will generic cialis be available

    Resetting the root account password on the PVE Host – rock funs

  11. humana online pharmacy
    May 26, 2021 at 7:06 am

    humana online pharmacy

    Resetting the root account password on the PVE Host – rock funs

  12. new dating sites in usa free
    May 26, 2021 at 9:35 pm

    free online dating site in uk

  13. free online dating sugar mummies
    May 27, 2021 at 5:45 am

    free hookup dating

  14. cialis ontario no prescription
    May 27, 2021 at 8:44 am

    cialis ontario no prescription

    Resetting the root account password on the PVE Host – rock funs

  15. pharmacy price checker canada
    May 31, 2021 at 6:47 am

    pharmacy price checker canada

    Resetting the root account password on the PVE Host – rock funs

  16. truely free dating sites
    June 1, 2021 at 9:01 pm

    wayne free dating site

  17. free dating sites in pa
    June 2, 2021 at 1:44 am

    free christian dating site in uk

  18. top free adult dating sites
    June 2, 2021 at 3:24 am

    100 free south american dating sites

  19. free cougar dating sites reviews
    June 2, 2021 at 9:24 am

    adult dating free sites

  20. toll free dating chat lines
    June 23, 2021 at 8:12 pm

    100 free penpal dating site

  21. free online cougar dating sites
    June 24, 2021 at 7:38 am

    free spiritual dating site

  22. plenty of fish.com free dating
    June 26, 2021 at 2:19 am

    ghana dating sites free

  23. free sugar mummy dating sites in canada
    June 26, 2021 at 10:16 am

    free dating sites no limits

  24. keto recipes for dinner
    July 7, 2021 at 1:01 am

    cheat day on keto

  25. watermelon on keto diet
    July 7, 2021 at 6:47 am

    no energy on keto diet

  26. how to keto
    July 7, 2021 at 8:24 am

    keto friendly diet

Meta
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Categories
  • game
  • linux
  • news
  • pics
  • proxmox
  • windows
Recent Posts
  • 紧身胶衣问谁看不下贱?“HK416”:真的不鼓包的哦!~…
  • Using local directory bind mount points
  • Proxmox中Lxc容器挂载远程目录
  • livego流媒体服务实现无插件播放视频(支持hls,flv)
  • PVE直通核显给虚拟机
Recent Comments
  • Degebu on Proxmox中Lxc容器挂载远程目录
  • Bxdizx on Using local directory bind mount points
  • Markvem on livego流媒体服务实现无插件播放视频(支持hls,flv)
  • Eron Plus on livego流媒体服务实现无插件播放视频(支持hls,flv)
  • buy generic cialis online with mastercard on livego流媒体服务实现无插件播放视频(支持hls,flv)
Archives
  • April 2022 (1)
  • February 2022 (5)
  • January 2022 (2)
  • December 2021 (3)
  • November 2021 (1)
  • October 2021 (2)
  • September 2021 (1)
  • August 2021 (1)
  • July 2021 (8)
  • June 2021 (14)
  • May 2021 (2)
  • April 2021 (2)
  • March 2021 (10)
  • January 2021 (4)
  • December 2020 (4)
  • November 2020 (13)
  • April 2020 (276)
  • March 2020 (1)
  • June 2019 (5)
  • May 2019 (10)
  • December 2015 (1)