Automation

 View Only
  • 1.  Esxi root account unlock

    Posted Dec 15, 2022 08:48 AM

    Hi,

    There is a urgent requirement to check if root account on a host is locked and if yes then unlock it. 

    Is it possible using powercli.

    Please help.



  • 2.  RE: Esxi root account unlock
    Best Answer

    Posted Dec 15, 2022 10:29 AM

    Account lockout is not active in the console/DCUI, you should be able to unlock the root account from there.

    pam_tally2 --user root --reset

    I don't think there is a way to do this from PowerCLI and/or an SSH session.
    You do need the DCUI afaik



  • 3.  RE: Esxi root account unlock

    Posted Dec 15, 2022 11:45 AM

    Thanks LucD.