Sudo Permission

Evaristo

Member
Sep 30, 2022
6
1
8
The sudo settings look like this:
Cmnd_Alias POWER =/usr/sbin/shutdown, /usr/sbin/halt, /usr/sbin/reboot, /usr/sbin/restart, /usr/sbin/qm, /usr/sbin/pct
admin pve1 = NOPASSWD: POWER

When I run the command it does not return the status of the vm:
admin@pve1:~$ qm status 101
ipcc_send_rec[1] failed: Is a directory
ipcc_send_rec[2] failed: Is a directory
ipcc_send_rec[3] failed: Is a directory
Unable to load access control list: Is a directory
 
Last edited:
You need to use 'sudo': sudo qm status 101
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!