non plain text password support for environment variable?

emoxam

Well-Known Member
Apr 9, 2019
67
1
48
44
Does PBS_PASSWORD support any non-plain text passwords ? Need to store a password hashed.
Thanks
 
you (or rather, the client) can't login with a hash of the password, so no.
 
it's not bad, and it's unavoidable - when the client wants to login at the server, it needs to present some secret that grants it access. storing passwords hashed only helps on the server side in case of a compromise, not on the client side..
 
what's stopping use somthing kind of smbpasswd -a
when we only once use plain text password, all the rest time we use hash. It can be usefull in some cases.
 
that's not how password-based authentication works - there are other approaches but all of them rely on some sort of secret value (password, key, token value, ..) being available at the client side to prove the client is who they say they are, this is not avoidable.