mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
34 lines
793 B
Plaintext
34 lines
793 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# pveum
|
|
|
|
> Manage proxmox users.
|
|
> More information: <https://pve.proxmox.com/pve-docs/pveum.1.html>.
|
|
|
|
- List users:
|
|
|
|
`pveum {{[u|user]}} {{[l|list]}}`
|
|
|
|
- Add a user:
|
|
|
|
`pveum {{[u|user]}} {{[a|add]}} {{username}}@pve`
|
|
|
|
- Add a user with an email, description, and password:
|
|
|
|
`pveum {{[u|user]}} {{[a|add]}} {{username}}@pve --email {{email_address}} --comment {{description}} --password {{password}}`
|
|
|
|
- Change user password:
|
|
|
|
`pveum {{[pa|passwd]}} {{username}}@pve`
|
|
|
|
- Delete a user:
|
|
|
|
`pveum {{[u|user]}} {{[d|delete]}} {{username}}@pve`
|
|
|
|
- Give a user access to a specific VM with specific permissions:
|
|
|
|
`pveum {{[a|acl]}} {{[m|modify]}} /vms/{{1000}} --user {{username}}@pve --role {{PVEVMUser}}`
|