pvesh as restricted ssh user

rnicolaides

New Member
Oct 9, 2013
6
0
1
Dear Proxmox Team.

I...
....created a pam user with ssh/public-key shell rights
....added that user in the Proxmox GUI.
....put that user in a pve group
....ensured the pve group has the following rights:

PVETemplateUser
PVEVMAdmin
VM.Allocate
Datastore.Allocate

When I connect via GUI it works as expected.

But I can´t get it to work with the pvesh tool.
I get the following errors concerning permissions:

Code:
pve:/> ls nodes
libqb: unix.c:79 [3] couldn't open file /dev/shm/qb-pve2-request-908036-20-header: Permission denied (13)
libqb: unix.c:85 [3] couldn't open file /var/run/

Is there a way to use the pvesh tool wit a restricted user?