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:@administra:PVEAdmin:
acl:1:/usuarios:@usuarios:PVEVMAdmin:

Try:

acl:1:/vms:@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:@administra:PVEAdmin:
acl:1:/usuarios:@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