삽질기행/해결된 삽질

Proxmox, 4.2 LXC, container password reset

freezn 2016. 7. 27. 21:55

https://pve.proxmox.com/wiki/Manual:_pct


 pct exec <vmid> [<extra-args>]

    Launch a command inside the specified container.

    <vmid>     integer (1 - N)

              The (unique) ID of the VM.

    <extra-args> array

              Extra arguments as array

 


pct exec <vmid> passwd <username>