From 63b476221c7b9ece6b99f9e194fab80e300275d9 Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Thu, 15 Aug 2019 07:30:56 +0000 Subject: [PATCH] use requisite rather than required to avoid asking for password needlessly if login will fail anyhow --- usr/share/pam-configs/tally2-security-misc | 4 ++-- usr/share/pam-configs/wheel-security-misc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/usr/share/pam-configs/tally2-security-misc b/usr/share/pam-configs/tally2-security-misc index 0d858cd..11385c8 100644 --- a/usr/share/pam-configs/tally2-security-misc +++ b/usr/share/pam-configs/tally2-security-misc @@ -3,7 +3,7 @@ Default: yes Priority: 260 Auth-Type: Primary Auth: - required pam_tally2.so deny=100 onerr=fail audit debug + requisite pam_tally2.so deny=100 onerr=fail audit debug Account-Type: Primary Account: - required pam_tally2.so debug + requisite pam_tally2.so debug diff --git a/usr/share/pam-configs/wheel-security-misc b/usr/share/pam-configs/wheel-security-misc index bf7442c..661e639 100644 --- a/usr/share/pam-configs/wheel-security-misc +++ b/usr/share/pam-configs/wheel-security-misc @@ -3,4 +3,4 @@ Default: yes Priority: 270 Auth-Type: Primary Auth: - required pam_wheel.so group=sudo debug + requisite pam_wheel.so group=sudo debug