반응형 otp2 Ubuntu 우분투 OTP 설정 (Google OTP) 서버 보안을 위해 Google OTP를 설정하자 1. 설치sudo apt updatesudo apt install libpam-google-authenticator -y 2. OTP 생성google-authenticator 우분투 OTP 설치 시 나오는 Google OTP 옵션실행하면 나오는 옵션: Do you want authentication tokens to be time-based (y/n)? → y (시간 기반 OTP) Secret key / QR코드 / Backup codes 제공됨 → QR코드를 Google Authenticator 앱으로 스캔하세요. Update ~/.google_authenticator (y/n)? → y (계정에 저장) Disallow multiple uses of th.. 2025. 7. 29. Centos7 - OTP 설치 (Google otp) 설치 환경 : Centos 7.3 , VMware # 라이브러리 설치 yum install pam-devel gcc autoconf automake libtool git -y # git 소스 다운로드 git clone https://github.com/google/google-authenticator-libpam cd google-authenticator/libpam ./bootstrap.sh ./configure --libdir=/lib64 make && make install # 패키지 설치 yum install google-authenticator -y yum install epel-release -y yum install google-authenticator -y # PAM 설정 vi /etc.. 2021. 9. 28. 이전 1 다음 반응형