From abae787186d48b2cccf220cbf7b553f8478e60be Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Thu, 5 Nov 2020 06:47:16 -0500 Subject: [PATCH] usability: pam abort when attempting to login to root when root password is locked --- usr/lib/security-misc/pam-abort-on-locked-password | 1 + 1 file changed, 1 insertion(+) diff --git a/usr/lib/security-misc/pam-abort-on-locked-password b/usr/lib/security-misc/pam-abort-on-locked-password index 20b793d..b7136c4 100755 --- a/usr/lib/security-misc/pam-abort-on-locked-password +++ b/usr/lib/security-misc/pam-abort-on-locked-password @@ -22,6 +22,7 @@ else echo "$0: ERROR: root account is locked by default. See:" >&2 echo "https://www.whonix.org/wiki/root" >&2 echo "" >&2 + exit 1 fi fi