Hi,
i want to change the root password easy with a command i can copy/paste, so i used:
esxcli system account set -i=root -p=newpassword -c=newpassword
But the new password has a "$" in it, and it seems that this causes a problem. The changed password don't work. When i replace the "$" with a 2 then the passord is working.
No error message, the command completes and when i want to login again i can't, because the password isn't working.
i'm using ESXi 7.0.3 with the latest patches.
It here something i can do that the command accept the password with a "$" sign? This is a perfect special character, because this is on the US and german keybord on the same key.
Hi @Raudi,
You can try enclosing the symbol in single quotes, like:
esxcli system account set -i=root -p=Pass'$'w0rd -c=Pass'$'w0rd
Have another account equivalent to root just in case.
Regards,
Ferdinando
Hi @Raudi,
You can try enclosing the symbol in single quotes, like:
esxcli system account set -i=root -p=Pass'$'w0rd -c=Pass'$'w0rd
Have another account equivalent to root just in case.
Regards,
Ferdinando
Hi Ferdinando,
yes that worked. I tested alredy the complete password in double quotes, but no luck.
Thank you!