Reset password for Azure Linux VM

If "Reset password" provided by Azure doesn't work, it is likely because the Guest agent required to enable the VMAccessForLinux extension to change password is not responsive.

There is a workaround of running the echo command in the run command blade.



echo "<>" | passwd --stdin <USERNAME>


replace <> with the actual password


replace <USERNAME> with the real username.

Comments