Solaris 11 cannot log in

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.