Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Proxmox VE 5. How create multiples users

Tags:

proxmox

I want to create multiple users on Proxmox ve 5, my problem is that I've created them in /etc/pve/user.cfg but I can not assign them password. Somebody can help me? Thanks

like image 506
Abdoulaye BARRY Avatar asked Feb 14 '18 15:02

Abdoulaye BARRY


People also ask

How do I add a user to Proxmox?

Go to Datacenter -> Permissions, there add a new User permission with the path "/" for your user and the appropriate role. Make sure the "Propagate" Checkbox is enabled so that the permission propagates down to all the child elements of the permissions paths.

What is realm in Proxmox?

The Proxmox VE authentication server realm is a simple Unix-like password store. The realm is created by default, and as with Linux PAM, the only configuration items available are the ability to require two-factor authentication for users of the realm, and to set it as the default realm for login.

How do I pair my Proxmox VE?

The web interface can be reached via https://youripaddress:8006 (default login is: root, and the password is specified during the installation process).

How do you make a resource pool on Proxmox?

Create a resource pool by clicking the pool menu at the Datacenter level followed by Create, giving it a name and a description in the comment field. It's also pretty easy to log in using the Proxmox credentials.


2 Answers

Just create "normal" system users with

adduser Username

Then add those users to Proxmox via GUI.

In Datacenter >> Permissions >> Users >>

click adduser and enter just created usernames. It will work.

Because if you create users only in GUI of proxmox, you wont be able to assign a passwd. You must first add an user to the system and then just link it in Proxmox GUI (or /etc/pve/user.cfg) but I recommend to use the GUI way. ( Sometimes, when you edditing a config file directly, cluster can fall apart)

like image 187
Ján Šumský Avatar answered Oct 05 '22 23:10

Ján Šumský


You can assign a password to a proxmox user with following command:

/usr/bin/pvesh set /access/password --userid youruser --password yourpassword

See also: https://pve.proxmox.com/wiki/User_Management

like image 37
patrick_ Avatar answered Oct 05 '22 23:10

patrick_