aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'system-auth.in')
-rw-r--r--system-auth.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/system-auth.in b/system-auth.in
index 6cc19d1..eeba9ac 100644
--- a/system-auth.in
+++ b/system-auth.in
@@ -1,6 +1,9 @@
#if HAVE_ENV
auth required pam_env.so DEBUG
#endif
+#ifdef HAVE_PAM_SSH
+auth sufficient pam_ssh.so
+#endif
auth required pam_unix.so try_first_pass LIKEAUTH nullok DEBUG
account required pam_unix.so DEBUG
@@ -22,5 +25,8 @@ session required pam_env.so DEBUG
#if HAVE_MKTEMP
session optional pam_mktemp.so
#endif
+#ifdef HAVE_PAM_SSH
+session optional pam_ssh.so
+#endif
session required pam_unix.so DEBUG