[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
 

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!