Changed things in pam again

This commit is contained in:
Tastatur 2023-12-29 17:33:02 +01:00
parent a6026d027f
commit f59020280c

View file

@ -158,10 +158,10 @@ auth optional pam_faildelay.so delay=5000000
Which will add a 5 second delay between login attempts. Which will add a 5 second delay between login attempts.
The system can also enforce a stronger hash algorithm for a more secure login protector. Edit the file `/etc/pam.d/passwd` and add the line: The system can also enforce a stronger hash algorithm for a more secure login protector. Edit the file `/etc/pam.d/base-password` and add the line:
``` ```
password required pam_unix.so use_authtok sha512 shadow nullok rounds=1000000 password required pam_unix.so nullock sha512 shadow rounds=1000000
``` ```
Then change your password so that it's also secure: Then change your password so that it's also secure: