[SOLVED] User Management: assign users to multiple groups

cmonty14

Renowned Member
Mar 4, 2014
344
6
83
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