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
Бро, спасибо тебе! Все получилось по твоей инструкции!
Thanks, bro!