[SOLVED] Add admin users based on group in /etc/group

tmartesson

New Member
Apr 29, 2015
1
0
1
Hi,
Since I use puppet to add/remove people from groups in /etc/group I needed to find a way to map PAM-users from existing groups in proxmox and add those as administrators but I did not find any such tool/configuration option.

I created a script that takes groupnames as args and then add all users in those groups to the admin group in proxmox, if you find this useful you can get the script here:
https://github.com/tmartensson/stuff/blob/master/tools/proxmox/update_admin_users.sh

//Thomas