Tuesday, October 20, 2020

vCenter root password expired

With VMware vCenter appliance 6.5 default root password is set to expire after 365 days and if you don't change it within time you may need to work on troubleshooting on resetting password.

Below is screenshot of commands which you can set the password expire day to 99999 days.


 

 First command will shows the details about root user

change -l root

Second command will set the password expire in days; you can set eh numbers as per your choice.

change -I -1 -m 0 -M 99999 -E -1 root

 

Best practice to reset all admin credentials monthly or after every 60 days to keep your environment safe and secure from all types of attacks.

 

0 comments:

Post a Comment