Expiration du compte root sur vcsa 7.0
Connexion au vcsa en ssh
Connexion en ssh avec Putty par exemple et en utilisant le compte administrator@vsphere.local.
Using username "administrator@vsphere.local".
Pre-authentication banner message from server:
|
| VMware vCenter Server 7.0.2.00200
|
| Type: vCenter Server with an embedded Platform Services Controller
|
End of banner message from server
Keyboard-interactive authentication prompts from server:
End of keyboard-interactive prompts from server
Connected to service
* List APIs: "help api list"
* List Plugins: "help pi list"
* Launch BASH: "shell"
Activation et lancement du shell
Command> shell.set --enable true
Command> shell
---------- !!!! WARNING WARNING WARNING !!!! ----------
Your use of "pi shell" has been logged!
The "pi shell" is intended for advanced troubleshooting operations and while
supported in this release, is a deprecated interface, and may be removed in a
future version of the product. For alternative commands, exit the "pi shell"
and run the "help" command.
The "pi shell" command launches a root bash shell. Commands within the shell
are not audited, and improper use of this command can severely harm the
system.
Help us improve the product! If your scenario requires "pi shell," please
submit a Service Request, or post your scenario to the
https://communities.vmware.com/community/vmtn/vcenter/vc forum and add
"appliance" tag.
Changement du mot de passe de root
sso-user@cluster [ ~ ]$ sudo passwd root
New password:
Retype new password:
passwd: password updated successfully