VMware vSphere

 View Only
Expand all | Collapse all

ESXI root user login issue

  • 1.  ESXI root user login issue

    Posted Aug 15, 2024 03:21 AM

    We are using an ESXi host, and I am trying to log in through the web console with the correct username and password, but it is showing that the username and password are incorrect.

    I tried logging in via the console with the same username and password, and it works fine. I also tried logging in via SSH, but I encountered the same problem-the username and password are showing as incorrect.

    Can anyone help me with how I can log in using the web console GUI?



  • 2.  RE: ESXI root user login issue

    Posted Aug 15, 2024 03:21 AM

    This is often caused by the keyboard layout, which differs on the console and in the browser.

    Enter the password in the web GUI's username field to see how it looks like.

    André




  • 3.  RE: ESXI root user login issue

    Posted Aug 15, 2024 03:25 AM

    i checked the password and its looks like correct.

    is there any issue with root user is locked ?




  • 4.  RE: ESXI root user login issue

    Posted Aug 15, 2024 03:38 AM

    A lockout might be possible too.

    From the documentation:
    "By default, a maximum of five failed attempts is allowed before the account is locked. The account is unlocked after 15 minutes by default."

    André




  • 5.  RE: ESXI root user login issue

    Posted Aug 15, 2024 03:44 AM

    but i am trying from since two days ,its not unlocked

    i can access through console ,i cannot even connect through ssh ,its showing same error




  • 6.  RE: ESXI root user login issue

    Posted Aug 15, 2024 05:27 AM

    What may be an option is to reset the password to e.g. "VMware1!" to see whether this helps.

    André




  • 7.  RE: ESXI root user login issue

    Posted Aug 15, 2024 05:44 AM

    two days ago i have reset the password from console,but still i am not able to access it




  • 8.  RE: ESXI root user login issue

    Posted Aug 15, 2024 07:47 AM

    Did you already try to restart the host, or at least the management agents from e.g. the Troubleshooting section in the console?

    For details see https://knowledge.broadcom.com/external/article/320280/restarting-the-management-agents-in-esxi.html

    André




  • 9.  RE: ESXI root user login issue

    Posted Aug 15, 2024 07:56 AM

    i didnt try to restart the host or agents,

    we have 4 VMs are running in the Host,so i'm worried to restart ,if they could have happen something.




  • 10.  RE: ESXI root user login issue

    Posted Aug 15, 2024 09:21 AM

    Restarting the Management Agents should not have any impact on the VMs, except that they are configured for automatic startup/shutdown.

    André




  • 11.  RE: ESXI root user login issue

    Posted Aug 18, 2024 03:53 AM

    How can i know management agents are configured with  auto startup /shutdown?How i can call directly to vmware technical support team.




  • 12.  RE: ESXI root user login issue

    Posted Sep 10, 2024 12:19 PM

    Not sure if you're still having a problem or not...You can change password on console but if account is still locked you'll only be able to log in via console.

    try (in console) using "pam_tally2 --user [user]" to see how many failed attempts, or if its locked out. (don't include those brackets) If the account needs to be unlocked use "pam_tally2 --user [user] --reset