Libro sobre Proxmox maestria
Chapter 2
The user.cfg file holds all user and group information in the cluster and is located under /etc/pve/. It follows the following format to store all user information:
⚫ For user information, the format is as follows:
<type>: <user>@realm: enable: expiry: f_name: 1_name: email: comment
For group information, the format is as follows:
Based on this format, the following is what our user.cfg file looks like right now. Depending on user information you have entered, the file content may vary:
Note that the file user.cfg does not hold any user password. This information is stored under /etc/pve/priv/shadow.cfg.
The password configuration file is located under /etc/pve/priv/shadow.cfg and stores all the passwords for users in the cluster. The format is rather simple but the function of this file is rather crucial. The format to store password information is as follows:
<user_name>: <encrypted password>
We have one user pmxuser in the cluster. The file looks as follows:
wahmed: aLKJ982134981sdfMN/KSDkwhkjfh290342340823:
Notice that the password file is in a /priv folder inside /etc/pve. Sensitive information such as password, private authorization key, and known hosts are kept in the /etc/pve/priv folder. When a new user is created through the Proxmox GUI, a new entry is added here as password entry.