summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2002-11-06 08:04:56 +0000
committerdes <des@FreeBSD.org>2002-11-06 08:04:56 +0000
commit66bd92dc492692feb44700ec3ebc7f6424778af2 (patch)
tree09838c2f8a4844c074a736ce5c726d3db03f215d /crypto
parent1d9a26469d9c43f354de44fbbc80b194ac55814a (diff)
downloadFreeBSD-src-66bd92dc492692feb44700ec3ebc7f6424778af2.zip
FreeBSD-src-66bd92dc492692feb44700ec3ebc7f6424778af2.tar.gz
Add caveats regarding the effect of PAM on PasswordAuthentication and
PermitRootLogin. PR: docs/43776 MFC after: 1 week
Diffstat (limited to 'crypto')
-rw-r--r--crypto/openssh/sshd_config.523
1 files changed, 23 insertions, 0 deletions
diff --git a/crypto/openssh/sshd_config.5 b/crypto/openssh/sshd_config.5
index ea03500..83a2ce0 100644
--- a/crypto/openssh/sshd_config.5
+++ b/crypto/openssh/sshd_config.5
@@ -132,6 +132,11 @@ Specifically, in
this controls the use of PAM (see
.Xr pam 3 )
for authentication.
+Note that this affects the effectiveness of the
+.Cm PasswordAuthentication
+and
+.Cm PermitRootLogin
+variables.
The default is
.Dq yes .
.It Cm Ciphers
@@ -426,6 +431,17 @@ are refused if the number of unauthenticated connections reaches
Specifies whether password authentication is allowed.
The default is
.Dq yes .
+Note that
+.Cm ChallengeResponseAuthentication
+is
+.Dq yes ,
+and the PAM authentication policy for
+.Nm sshd
+includes
+.Xr pam_unix 8 ,
+password authentication will be allowed through the challenge-response
+mechanism regardless of the value of
+.Cm PasswordAuthentication .
.It Cm PermitEmptyPasswords
When password authentication is allowed, it specifies whether the
server allows login to accounts with empty password strings.
@@ -442,6 +458,13 @@ or
.Dq no .
The default is
.Dq no .
+Note that if
+.Cm ChallengeResponseAuthentication
+is
+.Dq yes ,
+the root user may be allowed in with its password even if
+.Cm PermitRootLogin is set to
+.Dq without-password .
.Pp
If this option is set to
.Dq without-password
OpenPOWER on IntegriCloud