diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/openssh-server.ssh.pam | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/openssh-server.ssh.pam b/debian/openssh-server.ssh.pam index d34ee091c..c3ff13e82 100644 --- a/debian/openssh-server.ssh.pam +++ b/debian/openssh-server.ssh.pam | |||
@@ -1,8 +1,5 @@ | |||
1 | # PAM configuration for the Secure Shell service | 1 | # PAM configuration for the Secure Shell service |
2 | 2 | ||
3 | # Disallow non-root logins when /etc/nologin exists. | ||
4 | auth required pam_nologin.so | ||
5 | |||
6 | # Read environment variables from /etc/environment and | 3 | # Read environment variables from /etc/environment and |
7 | # /etc/security/pam_env.conf. | 4 | # /etc/security/pam_env.conf. |
8 | auth required pam_env.so # [1] | 5 | auth required pam_env.so # [1] |
@@ -10,6 +7,9 @@ auth required pam_env.so # [1] | |||
10 | # Standard Un*x authentication. | 7 | # Standard Un*x authentication. |
11 | @include common-auth | 8 | @include common-auth |
12 | 9 | ||
10 | # Disallow non-root logins when /etc/nologin exists. | ||
11 | account required pam_nologin.so | ||
12 | |||
13 | # Standard Un*x authorization. | 13 | # Standard Un*x authorization. |
14 | @include common-account | 14 | @include common-account |
15 | 15 | ||