Intro
Your boss comes to you in a panic about security and passwords. You sip your coffee and calmly let her vent. You assure her that yes, you can quickly and easily change the root password on all your XenServers. She walks away confident you know what you are talking about.
Change that password...or can you?
You hit the Internet for information on changing the XenServer root password and are hit with article after article about recovering a lost root password. That doesn’t apply to you. You have your root password safely stored in your password store (right :)).
- How to Reset Root Password for XenServer Host
- Resetting Lost Root Password in XenServer 7.0
- How To reset the root password in XenServer versions 5.0 and later
- How to reset an administrative root password on XenServer 7
You ask yourself, “Self, where are the instructions on changing the root password when you already know it?”
A quick look at the XenServer install guide and admin guides don’t reveal anything either.
Yes, you can!
Citrix support wasn’t much help in this, but the answer is quick and easy, especially if you have XenServer pools.
First connect to your XenServer (use the Pool Master if you have a pool), and get to the console.
Select Authentication
Select Change Password
Authenticate with your current password (if prompted).
Enter the old password, followed by the new password twice.
Once you hit enter, the system will change the password.
And you’re done.
BONUS: If you changed the password on the Pool Master, this will change the root password on all the pool member servers.
Value for Value
If you received any value from reading this post, please help by becoming a supporter.
Thanks for reading,
Alain