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?
 

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!