Configure the server to use a different password hashing algorithm

authconfig

  • A CLI interface for configuring system authentication resources.
    More information: <https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system-level_authentication_guide/authconfig-install>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

authconfig --update --passalgo={{algorithm}}

click the source code to copy install authconfig on any operating system with command-not-found.com