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
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: