pbs user password saved in clear text on the pve hosts

da-alb

Active Member
Jan 18, 2021
121
3
38
Hi, is it safe to have the password in clear text of the user account used to do backups on the pbs?

The path is /etc/pve/priv/storage . Also the fingerprint is in clear text in /etc/pve/storage.cfg .

Is it normal?

Thanks
 
Yes, how else would the password be stored? The fingerprint is public anyway, the password must be stored in a way that can authenticate against the server, so any hashing wouldn't help.

Note that the /priv/ subdirectory is only accessible by the root user. If you're worried about security still, you can create an access token on PBS, which you can assign only the specific and necessary permissions, and then login with that.
 
Yes, how else would the password be stored? The fingerprint is public anyway, the password must be stored in a way that can authenticate against the server, so any hashing wouldn't help.

Note that the /priv/ subdirectory is only accessible by the root user. If you're worried about security still, you can create an access token on PBS, which you can assign only the specific and necessary permissions, and then login with that.
Thanks for the clarification.