Set the password for a user on QEMU/KVM Virtual Machine Manager. More information: https://pve.proxmox.com/pve-docs/qm.1.html.
qm guest passwd vm_id username
qm guest passwd vm_id username --crypted 1