LinuxCommandLibrary

qm-guest-passwd

Set the password for a specific user on QEMU/KVM Virtual Machine Manager.

TLDR

Set a password for a specific user in a virtual machine interactively

$ qm guest passwd [vm_id] [username]
copy


Set an already hashed password for a specific user in a virtual machine interactively
$ qm guest passwd [vm_id] [username] --crypted 1
copy

Copied to clipboard