[linux] pam_tally2(login:account): unknown option: no_magic_root, resetIT/linux2023. 3. 29. 09:35
Table of Contents
OS : CentOS 7.9
CentOS 5까지는 pam_tally.so 사용. CentOS 6부턴 pam_tally2.so
no_magic_root, reset은 man page에 존재하지 않는다. 따라서, 옵션 삭제
# /var/log/secure
mar 28 03:03:53 localhost login: pam_tally2(login:account): unknown option: no_magic_root
mar 28 03:03:53 localhost login: pam_tally2(login:account): unknown option: reset
### 수정 전
# PATH /etc/pam.d/system-auth
auth required /lib64/security/pam_tally2.so deny=5 unlock_time=120 no_magic_root
account required /lib64/security/pam_tally2.so no_magic_root reset
### 수정 후
auth required /lib64/security/pam_tally2.so deny=5 unlock_time=120
account required /lib64/security/pam_tally2.so
'IT > linux' 카테고리의 다른 글
[linux] nfs 설치, 설정 (0) | 2023.03.30 |
---|---|
[linux] kernel: NMI watchdog: BUG: soft lockup - CPU#3 stuck for 82s! [pickup:18943] (0) | 2023.03.29 |
[linux] ping: socket: Operation not permitted (0) | 2023.03.29 |
[linux] ubuntu Error: Waiting for cache lock (0) | 2022.09.30 |
[linux] Google Authenticator (0) | 2022.09.30 |
@주니- :: 주니
포스팅이 좋았다면 "좋아요❤️" 또는 "구독👍🏻" 해주세요!