summaryrefslogtreecommitdiff
path: root/src/pam-configs/mfa-google-authenticator
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-12-08 18:34:53 +0100
committerGitHub <noreply@github.com>2023-12-08 18:34:53 +0100
commitf44cf2923bf12360e5665cb8d7391557241fba96 (patch)
treebc6650c325c1eee90ee5f47bf7101818a8531b28 /src/pam-configs/mfa-google-authenticator
parent7f081cadd0855ebc1104919329c11c98de1445f1 (diff)
parent14b107442ebf1f4f44bad485c585d4b9cfd97384 (diff)
downloadvyos-1x-f44cf2923bf12360e5665cb8d7391557241fba96.tar.gz
vyos-1x-f44cf2923bf12360e5665cb8d7391557241fba96.zip
Merge pull request #2593 from vyos/mergify/bp/sagitta/pr-2584
login: T4943: use pam-auth-update to enable/disable Google authenticator (backport #2584)
Diffstat (limited to 'src/pam-configs/mfa-google-authenticator')
-rw-r--r--src/pam-configs/mfa-google-authenticator8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/pam-configs/mfa-google-authenticator b/src/pam-configs/mfa-google-authenticator
new file mode 100644
index 000000000..9e49e5ef9
--- /dev/null
+++ b/src/pam-configs/mfa-google-authenticator
@@ -0,0 +1,8 @@
+Name: Google Authenticator PAM module (2FA/MFA)
+Default: no
+Priority: 384
+
+Auth-Type: Primary
+Auth:
+ [default=ignore success=ok auth_err=die] pam_google_authenticator.so nullok forward_pass
+