Raudi
Expert
Expert

set password via esxcli

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.

Reply
0 Kudos