Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 196326

Re: Lost vCenter root password

$
0
0

Hi,

 

I finally found the solution with VMware support.

 

Solution:

 

  1. Follow the manual http://en.opensuse.org/SDB:Recover_root_password:
    1. Boot from SuSE Install CD/DVD:
    2. select Recovery
    3. log on as root without password
    4. fdisk -l to detect a system partition
    5. mount /dev/sda3 /mnt (where /dev/sda3 is the system partition) to mount
  2. Reset the root password
    1. do a backup of a shadow file with passwords: cp /mnt/etc/shadow /mnt/etc/shadow-bak
    2. edit the shadow file: vi /mnt/etc/shadow (see Understanding /etc/shadow file)
    3. DO NOT delete passwords, you can't log on with no password
    4. I fortunately have created one other user with a password I know. I copied a hashed form of the password from this user to root. Maybe there is another way to get a hashed form of some word and put it to root if you don't have other user created with a known password.
    5. I can log on as root after reboot.

 

Thanks to all. Pavel


Viewing all articles
Browse latest Browse all 196326

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>