[SOLVED] User Management: assign users to multiple groups

cmonty14

Well-Known Member
Mar 4, 2014
343
5
58
Hi!
I have configured LDAP authentication; there are no issues means I can login with user + password after creating the user accounts in GUI.

Question:
Can I assign a user to multiple PVE groups?
If yes, how?
And how do I check to which PVE groups a user is assigned to?

THX
 
Yes, you can multi-select the groups in the user windows.
Or use the Commandline
Code:
pveum help usermod
 
Can you confirm that is must enter a comma-separated list in CLI?
pveum usermod <username>@pam -group <group1>,<group2>

Can I check the user assignments in CLI?
With Linux I could execute id <username> to display all group assignments.
 
Yes with a comma the groups are separated.

you can see the settings in /etc/pve/user.cfg
 
Last edited:
THX
Ticket can be closed.

Just 1 additional remark: the relevant config file is
/etc/pve/user.cfg
 

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!