mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-07-23 14:20:44 -04:00
use requisite rather than required to avoid asking for password needlessly
if login will fail anyhow
This commit is contained in:
parent
ce4a30d3ce
commit
63b476221c
2 changed files with 3 additions and 3 deletions
|
@ -3,7 +3,7 @@ Default: yes
|
||||||
Priority: 260
|
Priority: 260
|
||||||
Auth-Type: Primary
|
Auth-Type: Primary
|
||||||
Auth:
|
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-Type: Primary
|
||||||
Account:
|
Account:
|
||||||
required pam_tally2.so debug
|
requisite pam_tally2.so debug
|
||||||
|
|
|
@ -3,4 +3,4 @@ Default: yes
|
||||||
Priority: 270
|
Priority: 270
|
||||||
Auth-Type: Primary
|
Auth-Type: Primary
|
||||||
Auth:
|
Auth:
|
||||||
required pam_wheel.so group=sudo debug
|
requisite pam_wheel.so group=sudo debug
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue