When logging in to my hestiacp error shows "Unsupported hash method" and cannot login

when logging in to my hestiacp error shows “Unsupported hash method” and cannot login… but in my SSH i can login successfully…

Can you help me to fix this guys?

Thanks

Did you update OS recently?

If you want to use sha512 Password encryption


    sed -i "s/obscure yescrypt/obscure sha512/g" /etc/pam.d/common-password

Nope, I did not do anything… I was just surprised when I login few hours ago that error comes out…

is that command can change my password thru SSH?

You still need to change the password to refresh the generated token

I’ll try it now…

it says here in my SSH “Permission denied”

run it as root… sudo command or sudo su, then followed by the command.