vcsa就是一個suse linux,它會內置一個PostgreSQL數據庫,那麼如何修改數據庫用戶密碼呢?
首先經過22端口遠程連入suse linux 11
VMware vCenter Server Appliance 6.0.0.30200linux
Type: vCenter Server with an external Platform Services Controllershell
Last login: Mon May 20 08:02:20 UTC 2019 from 11.2.2.6 on pts/0
Last login: Mon May 20 08:32:20 2019 from 11.2.2.6
Connected to service數據庫
* List APIs: "help api list" * List Plugins: "help pi list" * Enable BASH access: "shell.set --enabled True" * Launch BASH: "shell"
Command>
這是首先執行下shell.set --enabled True,而後shell下就來到了熟悉的linux命令行
查看下vc連庫的密碼,就是
localhost:~ # cat /etc/vmware-vpx/vcdb.properties
是明文,直接修改便可
也可打開下面的encrypted,密碼就變爲加密的亂碼了api