[CentOS] password algorithm with authconfig vs authselect

Wed Apr 21 20:24:00 UTC 2021
Leon Fauster <leonfauster at googlemail.com>

In the old days I could do

# authconfig --passalgo=sha256 --update

With EL8 comes authselect now (replacement of authconfig).

authselect --passalgo=sha512 --update  does not work and
seems to be unsupported.

# grep -R passalgo /usr/lib/python3.6/site-packages/authselect/
/usr/lib/python3.6/site-packages/authselect/authcompat_Options.py: 
  Option.UnsupportedValued ("passalgo", 
_("<descrypt|bigcrypt|md5|sha256|sha512>")),


How does the new "way" looks like (>=EL8), to switch the password
algorithm?

Any hints would be great ...

--
Leon