configs/pam.d/pluto.example.google-authenticator
raw| 1 | #%PAM-1.0 |
| 2 | # Google Authenticator with Regular System auth in combined prompt mode |
| 3 | # (OTP is added to the password at the password prompt without separator) |
| 4 | auth required pam_google_authenticator.so forward_pass |
| 5 | auth include system-auth use_first_pass |
| 6 | account required pam_nologin.so |
| 7 | account include system-auth |
| 8 | password include system-auth |
| 9 | session optional pam_keyinit.so force revoke |
| 10 | session include system-auth |
| 11 | session required pam_loginuid.so |