cmdref.net - Cheat Sheet and Example

cmdref.net is command references/cheat sheets/examples for system engineers.

User Tools

Site Tools


Sidebar








Cloud



Etc


Reference














.

os:linux:command:pam_tally2.html



Linux Commands#User

Linux Command : pam_tally2

Commands

The login counter (tallying) module

This module maintains a count of attempted accesses, can reset count on success, can deny access if too many attempts fail.

Check

verify or check the counter that user attempts

# pam_tally2 -u USER

Reset

How to reset or unlock the user account to enable access again.

# pam_tally2 -u USER --reset


Configuration Note

/etc/pam.d/password-auth

auth        required      pam_env.so
auth        required      pam_tally2.so deny=10

password    requisite     pam_cracklib.so try_first_pass retry=3 minlen=8 lcredit=-1 ucredit=-1 dcredit=-1 ocredit=0 enforce_for_root



os/linux/command/pam_tally2.html.txt ยท Last modified: 2024/05/03 by admin

Page Tools