If you login with another user which does have the appropriate credentials then go it Admin Center → IAM → Identities → Select the admin account and within action select “Change Password”
If you dont have account with correct permission make a key-pair (search nutanix cluster lockdown) and login with the admin account with the key-pair via ssh and change the password there.
Disabling the expiration is not recommended but you can do that with:
sudo chage -M 5000 admin (This will change the expiration timer to 5000 days)
sudo chage -l admin (This will list the settings for the admin account)
Hi JeroenTielen!
So i can’t disable the admin expiration like it seems… OK!
by the other hand, i created two another admin accounts. Have it password expiration time too? As i read, it haven't... can you confirm it?
Thanks dude!😎
Local accounts always have the password expiration. You cant disable it but you can change it to somewhere in the future. Set is to after your pension ;) Just joking, beter is to create some runbook or something that will do a password rotating every x amount of days and store that in the keyvault.
Perfect Jeroen.
If my teammates consider it necessary we can extent the pwd expiration to the infinite and beyond wit the commnad sudo chage -M <days> <user> command . I suppose that i have to run it in any CVM of the cluster, right?
Cheers!😃
You will run this in the PCVM. But I will always involve support if this is for production environment.
Thanks for your assitance Jeroen!
Cheers! 😁