use requisite rather than required to avoid asking for password needlessly

if login will fail anyhow
This commit is contained in:
Patrick Schleizer 2019-08-15 07:30:56 +00:00
parent ce4a30d3ce
commit 63b476221c
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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