diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2000-07-11 09:50:15 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2000-07-11 09:50:15 +0000 |
| commit | e213d985b2358c679bf5e5a9760b60e364d25fd2 (patch) | |
| tree | 1a6bcbb4578f5deb283aad3490464fd651734518 /crypto | |
| parent | 4c8545c13d5d3db209887236351690c0369eda59 (diff) | |
Notes
Diffstat (limited to 'crypto')
| -rw-r--r-- | crypto/openssh/servconf.c | 2 | ||||
| -rw-r--r-- | crypto/openssh/sshd.8 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/openssh/servconf.c b/crypto/openssh/servconf.c index 5441b2a544fa..2788e0300505 100644 --- a/crypto/openssh/servconf.c +++ b/crypto/openssh/servconf.c @@ -103,7 +103,7 @@ fill_default_server_options(ServerOptions *options) if (options->key_regeneration_time == -1) options->key_regeneration_time = 3600; if (options->permit_root_login == -1) - options->permit_root_login = 1; /* yes */ + options->permit_root_login = 0; /* no */ if (options->ignore_rhosts == -1) options->ignore_rhosts = 1; if (options->ignore_user_known_hosts == -1) diff --git a/crypto/openssh/sshd.8 b/crypto/openssh/sshd.8 index e39c7f45e061..1133b8894c3e 100644 --- a/crypto/openssh/sshd.8 +++ b/crypto/openssh/sshd.8 @@ -480,7 +480,7 @@ The argument must be or .Dq no . The default is -.Dq yes . +.Dq no . If this options is set to .Dq without-password only password authentication is disabled for root. |
