How to get the password encrypted string?

uranus12

New Member
Jun 22, 2021
20
0
1
40
Hello!
How to get the password encrypted string of the login user of the pve node?Thanks!
 
mhmm ? what exactly do you mean? do you mean the salted+hashed password that is in /etc/shadow for system users ?
 
the hashed user password of system users are in /etc/shadow, for the pve realm it is in /etc/pve/priv/shadow.cfg
 
the hashed user password of system users are in /etc/shadow, for the pve realm it is in /etc/pve/priv/shadow.cfg
Hi,I see the passwd is

Code:
it:$5$TXIeFtXC$EixCcgKf4hqTPtl3tG8v8cXDQAgypIJnwJHBzcULYk1:

Are all the passwords of this user in the colon?
 
what do you mean? the file format is explained in the shadow(5) manpage, check it out via 'man 5 shadow'
I want to get the password in the following format, how do I do it? Thank you
Code:
map[password:[jKR+KBWMs7JjS2jf+9vC6g==] username:[cmdb@pve]]
 

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!