How To reset ESXi 5.5 root password (Как сбросить пароль администратора ESXi 5.5)

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • Boot from Ubuntu dist
    Open Terminal
    fdisk -l
    hypervisor/system image is located on the first 250 MB partition (/dev/sda5) which contains the state.tgz file. Mount /dev/sda5 to /mnt
    sudo -s mount /dev/sda5 /mnt
    Go to the /mnt
    cd /mnt
    cp state.tgz /tmp
    cd /tmp
    tar xzf state.tgz
    tar xzf local.tgz
    Go to the /etc directory
    cd /etc
    nano /tmp/etc/shadow
    you can gain access to the shadow file which contains the
    password hash of ESXi root account.
    tar czf local.tgz etc
    tar czf state.tgz local.tgz
    cp state.tgz /mnt/
    umount /mnt
    init 6 for reboot

Комментарии • 2

  • @xlite0060
    @xlite0060 Год назад

    Бро, спасибо тебе! Все получилось по твоей инструкции!

  • @wallaceandrade5230
    @wallaceandrade5230 8 месяцев назад

    Thanks, bro!