summaryrefslogtreecommitdiff
path: root/core/openssh/sshd.pam
diff options
context:
space:
mode:
Diffstat (limited to 'core/openssh/sshd.pam')
-rw-r--r--core/openssh/sshd.pam17
1 files changed, 5 insertions, 12 deletions
diff --git a/core/openssh/sshd.pam b/core/openssh/sshd.pam
index aeef8be27..7ecef084d 100644
--- a/core/openssh/sshd.pam
+++ b/core/openssh/sshd.pam
@@ -1,13 +1,6 @@
#%PAM-1.0
-#auth required pam_securetty.so #Disable remote root
-auth required pam_unix.so
-auth required pam_env.so
-account required pam_nologin.so
-account required pam_unix.so
-account required pam_time.so
-password required pam_unix.so
-session required pam_unix_session.so
-session required pam_limits.so
-session optional pam_loginuid.so
--session optional pam_ck_connector.so nox11
--session optional pam_systemd.so
+#auth required pam_securetty.so #disable remote root
+auth include system-remote-login
+account include system-remote-login
+password include system-remote-login
+session include system-remote-login