Set vCenter Server ...
 
Notifications
Clear all

Set vCenter Server root password to never expire

1 Posts
1 Users
0 Reactions
156 Views
Brandon Lee
Posts: 395
Admin
Topic starter
(@brandon-lee)
Member
Joined: 14 years ago

Especially in the home lab, you may not want your vCenter Server VCSA root password to expire as you would do in production. This can be a pain and usually happens at the worst time, when you are upgrading, etc. To see if your root account is set to age, you can use this command from the command line:

chage -l root

Then we can set it to not expire using the following command:

chage -I -1 -m 0 -M 99999 -E -1 root
set your vcenter server vcsa root password to never expire

That's it, now you can enjoy not having to reset your root password for your VCSA appliance again.