Users managemnet not working. What I'm doing wrong ?

vcp_ai

Renowned Member
Jul 28, 2010
177
5
83
Valencia -Spain-
Im testing user management under PVE 2.2. I've read the wiki and it seems clear, but I can not get it to work. These are my steps:

under root@pam
I create goups administra and usuarios with Realm = pve
I give permissions PVEadmin to administra & PVEVMadmin to usuarios
Then I create users aaron group usuarios & vicente group administra


When loging (under pve realm):
vicente (administra)can not see any storage or Virtual machine. Can not access Datacenter management,
aaron (usuarios) can not see any Virtuak Machine.

This is the contents of users.cfg

Code:
user:aaron@pve:1:0:::xxxxxx@gmail.com::
user:vicente@pve:1:0:::yyyyyy@mail.es::
user:root@pam:1:0:::yyyyyy@mail.es::

group:usuarios:aaron@pve::
group:administra:vicente@pve::



acl:1:/administra:@administra:PVEAdmin:
acl:1:/usuarios:@usuarios:PVEVMAdmin:

What I'm missing ??

Regards
 
You set some strange permissions - what is that exactly?

acl:1:/administra:mad:administra:pVEAdmin:
acl:1:/usuarios:mad:usuarios:pVEVMAdmin:

Try:

acl:1:/vms:mad:usuarios:pVEVMAdmin:

The following page contains some examples: http://pve.proxmox.com/wiki/User_Management

Also, use to GUI to set permissions (to get some example extries)
 
You set some strange permissions - what is that exactly?

acl:1:/administra:mad:administra:pVEAdmin:
acl:1:/usuarios:mad:usuarios:pVEVMAdmin:

Thank for you response. I didn't understand the concept of path for the Add permission window.

I was using same path that the name of the permission !!!

After your input and re-reading wiki I think I've understood the concept:

Path = / means acces to everyting
Path = /vms means acces to virtual machines
Path = /storage means access to storage
Path = /access means access to users control / permissions


This is correctly written on last paragraphs of wiki...:D

Regards
 

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!