Check Hypervisor Password from CVM | Nutanix Community
Skip to main content
Hi ,



I have run below command to show my hypervisor password from one of the CVM , but the password doesn't come out , anyone can help ?



Command : zeus_config_printer 2> /dev/null | grep "hypervisor {" -A 3

Result:



nutanix@NTNX-14SM36060045-A-CVM:192.168.1.208:~$ zeus_config_printer 2> /dev/null | grep "hypervisor {" -A 3 hypervisor { address_list: "192.168.1.204" username: "root" }-- hypervisor { address_list: "192.168.1.206" username: "root" }-- hypervisor { address_list: "192.168.1.207" username: "root" }

Apart of it , can anyone share where is the password configuration Hypervisor and CVM store in nutanix system? (from book it said store in ZEUS , but i don't know exactly the path location )



Thank. ;)



Regards,

Zack
Hello,



Zeus is the Nutanix name for their wrapper around Apache Zookeeper.

You will not find a specific "file" with the password in it.



As far as I can tell, the passwords are stored encrypted in the znode "/appliance/physical/configuration".



You can change them by using ncli:$ ncli managementserver edit name=host_name password='host_password'$ ncli host edit id=host_id hypervisor-password='host_password'



Note: the host id can be retrived from the command below, and the host name is the "Hypervizor Key":

$ ncli host list



I think it's wise not to display the passwords as plain text, as it would be a security nightmare if you were able to easiliy retrive them by simply listing all the cluster configuration.



Sylvain.
Hi dude,



Once again , thank for your explanation. 😃
My pleasure :)Sylvain.
zacklee89, the reason you are not seeing the password is because the CVMs have recently switched to using SSH keys to access the hypervisor. We've also hidden the password so that it is not displayed when you print the zeus config. The command you've used is no longer in the upgrade guide as of NOS 3.5.3.1.