Bobcares

Add PAM User Proxmox | A Simple Solution

by | Sep 6, 2022

Let’s examine adding a PAM user in Proxmox in more detail. As a part of our Proxmox Support Services, Bobcares provides answers to all of your questions.

Add PAM User In Proxmox

Proxmox is a very effective Type-2 hypervisor that can run Windows and Linux on x64 hardware. It serves as a substitute for other virtualization management tools. Adding  PAM users with Proxmox makes it possible to protect identities that have unique access or capabilities above and beyond those of regular users.

 

add pam user proxmox

 

User attributes are kept in /etc/pve/user.cfg by Proxmox VE. Users establish connections to the authentication methods (Realm). Thus, the username and authentication method in the format <userid>@<realm> frequently recognizes the users internally.

Add PAM User In Proxmox: In 3 Steps

In order to add the PAM user in Proxmox, we should execute mainly three steps, namely:

  1. Firstly, create the user in OS.
  2. Secondly, add the OS user to Proxmox.
  3. Lastly, set the permission to the user.
1. Creating the user in OS

In order to add the user, we need to run the below command:

groupadd <group>
adduser -g <group> <user>
passwd <user>
mkdir ~<user>
chown <user>:<group> ~<user>
2. Adding OS user to Proxmox

In order to add a user to Proxmox, run the code:

pveum user add <user>@pam
pveum user list
3. Setting the permission/role to the user.

The user role is set by using the code:

pveum acl modify <PATH> --roles PVEAdmin --users <user>@pam

The default roles in Proxmox VE are as follows: Administrator, PVEAdmin, PVEVMAdmin, PVEVMUser, PVEUserAdmin, PVEDatastoreAdmin, PVEDatastoreUser, PVESysAdmin, PVEPoolAdmin, PVETemplateUser, and PVEAuditor. Additionally, there is a “NoAccess” role to forbid access.

[Looking for an answer to a different query? We are just a click away.]

Conclusion

Adding PAM users in Proxmox allows unique access or capabilities above and beyond those of regular users. In this article, we explain the simple steps from our Support team to add the PAM users in Proxmox in detail.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.