From f59020280c399856feb6cea6d20785a734a58bf1 Mon Sep 17 00:00:00 2001 From: Tastatur Date: Fri, 29 Dec 2023 17:33:02 +0100 Subject: [PATCH] Changed things in pam again --- docs/alpine-desktop-setup/post-install/security.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/alpine-desktop-setup/post-install/security.md b/docs/alpine-desktop-setup/post-install/security.md index 3749fba..4140255 100644 --- a/docs/alpine-desktop-setup/post-install/security.md +++ b/docs/alpine-desktop-setup/post-install/security.md @@ -158,10 +158,10 @@ auth optional pam_faildelay.so delay=5000000 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: