mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-11 05:47:12 +00:00
18 lines
556 B
Plaintext
18 lines
556 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# qm guest passwd
|
|
|
|
> Set the password for a user on QEMU/KVM Virtual Machine Manager.
|
|
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_guest_passwd>.
|
|
|
|
- Set a password for a specific user in a virtual machine interactively:
|
|
|
|
`qm {{[g|guest]}} {{[p|passwd]}} {{vm_id}} {{username}}`
|
|
|
|
- Set an already hashed password for a specific user in a virtual machine interactively:
|
|
|
|
`qm {{[g|guest]}} {{[p|passwd]}} {{vm_id}} {{username}} --crypted 1`
|