'system-auth'에 해당되는 글 1건

  1. 2014.06.13 :: Linux에서 로그인 실패 시 계정 잠금 설정
OS/Linux 2014. 6. 13. 10:26

로그인 할때 특정 횟수를 틀릴 경우 계정을 잠글수 있다. 

다음과 같은 설정을 이용하면 된다.

/etc/pam.d/system-auth 파일을 수정

auth    required    pam_tally2.so    onerr=fail    deny=5    unlock_time=300


deny=5               # 5회 틀릴 경우 

unlock_time=300(second)         # 5분간 계정 잠금

'OS > Linux' 카테고리의 다른 글

createrepo 갱신  (0) 2014.06.17
kernel.shmmax  (0) 2014.06.17
500 OOPS: vsftpd: refusing to run with writable root inside chroot()  (0) 2014.06.10
tmux - window 관리  (0) 2014.05.28
tmux - 세션 관리  (0) 2014.05.28
posted by 구닥다리 엔지니어
: