Book Image

Mastering Proxmox

By : Wasim Ahmed
Book Image

Mastering Proxmox

By: Wasim Ahmed

Overview of this book

Table of Contents (17 chapters)
Mastering Proxmox
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

User configuration files


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:l_name:email:comment
  • For group information, the format is as follows:

    <type>:<group_name>:user@realm:comment

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:

user:root@pam:1:0:::[email protected]::
user:pmxuser@pve:1:0:ABC:XYZ:[email protected]:A User:

group:test:wahmed@pve:This is Test Group:

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

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...