How can I change encryption passwd algorith?

I have been looking for a way to change the algorith that Manjaro is using to encypt passwords on /etc/shadow . In that file It show me the prefix related with yescrypt but I don’t know how change It.

In this forum talk about modify /etc/pam.d/common-password in Ubuntu but I haven’t found nothing similar on Manjaro.

About my system information:

Currently running: 6.6.32-1-MANJARO (linux66)
The following kernels are installed in your system:
   * linux66

Please help me. I will be very grateful to you because Gemini doesn’t know either :smile: .

Look at /etc/login.defs

1 Like

Please see

Reasons for Yescrypt

The password-based key derivation function (KDF) and password hashing scheme yescrypt has been chosen due to its adoption (readily available in libxcrypt, which is used by pam) and its stronger resilience towards password cracking attempts over SHA512.
Arch Linux - News: Changes to default password hashing algorithm and umask settings

This may be of interest in your quest to figure out how to change the algorithm used by pam

1 Like

Yes, I am reading about yescrypt right now, so it would be better not to change it. However, I guess It should work just with the modification of ENCRYPT_METHOD in /etc/login.defs because login was defined in PAM (/etc/pam.d), isn’t it?