- man 설명
NAME
pam_tally2 - The login counter (tallying) module
SYNOPSIS
pam_tally2.so [file=/path/to/counter] [onerr=[fail|succeed]]
[magic_root] [even_deny_root] [deny=n] [lock_time=n]
[unlock_time=n] [root_unlock_time=n] [serialize] [audit]
[silent] [no_log_info]
pam_tally2 [--file /path/to/counter] [--user username] [--reset[=n]]
[--quiet]
DESCRIPTION
This module maintains a count of attempted accesses, can reset count on
success, can deny access if too many attempts fail.
pam_tally2 comes in two parts: pam_tally2.so and pam_tally2. The former
is the PAM module and the latter, a stand-alone program. pam_tally2 is
an (optional) application which can be used to interrogate and
manipulate the counter file. It can display users' counts, set
individual counts, or clear all counts. Setting artificially high
counts may be useful for blocking users without changing their
passwords. For example, one might find it useful to clear all counts
every midnight from a cron job.
Normally, failed attempts to access root will not cause the root
account to become blocked, to prevent denial-of-service: if your users
aren't given shell accounts and root may only login via su or at the
machine console (not telnet/rsh, etc), this is safe.
pam_tally2
- 패스워드를 몇번이나 틀렸는지 확인 가능
$pam_tally2
pam_tally2 reset (패스워드 잠김(잠금) 해제)
- pam_tally2 --user 유저아이디 --reset
$pam_tally2 --user userid --reset
반응형
'Server > Linux(Centos7)' 카테고리의 다른 글
[리눅스 서버] 시간 동기화 처리 (0) | 2022.11.14 |
---|---|
[리눅스] 리눅스 백신 설치 및 업데이트 설정 - ClamAV (0) | 2022.11.14 |
[리눅스] CENTOS 모니터링 (디스크, CPU, 메모리) (0) | 2022.11.14 |
리눅스 Centos7 최신 커널 업데이트 (0) | 2022.02.04 |
SCP 원격 서버에서 로컬PC(localhost)로 파일/디렉토리 복사(이동) 방법/ 그리고 로컬PC에서 원격서버로 파일/디렉토리 복사(이동)방법 (0) | 2021.12.15 |
connect() to failed (13 permission denied) (0) | 2018.07.21 |
GENOME Desktop 먹통 (gui모드 안될때) (0) | 2018.07.20 |
zsh insert, home, page up, delete, end, page down 먹통 (0) | 2018.07.17 |