Scenario: Solaris 11 Normal user and root login are no problem, but in the upgrade from ESXI6.0U1 to U2 installation, after reporting an error, select Install,preserve datastore
Can no longer be logged in, there are four virtual machines, two OEL7.2, two solaris11.3, in addition to a Solaris problem, the other virtual machines are no problem.
Do not know whether to forget the password, anyway, the phenomenon is the way Linux forgot the password. Normal user and Root, after entering the password are prompt authentication failed!
Since it is forgotten password, then try to change the password is not good.
So I started the path of password modification:
1. Mount the Solaris installation ISO and go to the command input terminal
2. Mount the locally installed Solaris Disk Rpool and create a new mount point to the root directory, using the following command
Zpool Import
Zpool import-f Rpool
ZFS List
Mkdir/test
ZFS Set Mountpoint=/test rpool/root/solaris-1
ZFS Mount Rpool/root/solaris-1
3. View the password management file/etc/shadow, modify it according to a known password of Solaris
4.useradd Create a user toor and set the password
5. I try again after reboot, or the same log in failed. There is no other good way, you say?
Only the data that is useful in the hard disk is copied out, and finally quit logging in.
Solaris 11 cannot log in