VMware Cloud Community
Pilu1978
Enthusiast
Enthusiast
Jump to solution

Esxi root account unlock

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.

Reply
0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

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


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

View solution in original post

Reply
0 Kudos
2 Replies
LucD
Leadership
Leadership
Jump to solution

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


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos
Pilu1978
Enthusiast
Enthusiast
Jump to solution

Thanks LucD.

Tags (1)
Reply
0 Kudos