Vhtforums
AI Assistant
Set vCenter Server ...
 
Notifications
Clear all

Set vCenter Server root password to never expire

1 Posts
1 Users
0 Reactions
2,629 Views
Brandon Lee
Posts: 690
Admin
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@brandon-lee)
Member
Joined: 16 years ago
[#349]

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.