sudo apt update
sudo apt upgrade -y
sudo apt install libpam-google-authenticator -y
sudo vi /etc/pam.d/common-auth *수정
auth required pam_google_authenticator.so nullok
google-authenticator *실행, 다음 모두 y
update your file
disallow multiple uses of the same authentication
allow an extra token
enable rate-limiting
'보안' 카테고리의 다른 글
| 네트워크 공유폴더 단속 - Windows/IPSec (0) | 2026.09.24 |
|---|---|
| Ubuntu 20.04 - xRDP에 Google OTP 적용 (0) | 2026.09.24 |
| Ubuntu 20.04 - SSH에 fail2ban 적용 (0) | 2026.09.24 |
| 한국 ip만 허용 - Windows, IPSec (0) | 2026.09.22 |
| ESXi 6, 7 웹인터페이스 443포트 변경 (0) | 2026.09.22 |