summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2015-07-01 02:39:06 +0000
committerDamien Miller <djm@mindrot.org>2015-07-15 15:24:09 +1000
commit868109b650504dd9bcccdb1f51d0906f967c20ff (patch)
treec7b7136f10b6bed47ad73848f61ee37c5ffe779b
parent7de4b03a6e4071d454b72927ffaf52949fa34545 (diff)
upstream commit
twiddle PermitRootLogin back Upstream-ID: 2bd23976305d0512e9f84d054e1fc23cd70b89f2
-rw-r--r--servconf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/servconf.c b/servconf.c
index df93fc450..80465ecc1 100644
--- a/servconf.c
+++ b/servconf.c
@@ -1,4 +1,5 @@
1/* $OpenBSD: servconf.c,v 1.274 2015/07/01 02:32:17 djm Exp $ */ 1
2/* $OpenBSD: servconf.c,v 1.275 2015/07/01 02:39:06 djm Exp $ */
2/* 3/*
3 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
4 * All rights reserved 5 * All rights reserved
@@ -222,7 +223,7 @@ fill_default_server_options(ServerOptions *options)
222 if (options->key_regeneration_time == -1) 223 if (options->key_regeneration_time == -1)
223 options->key_regeneration_time = 3600; 224 options->key_regeneration_time = 3600;
224 if (options->permit_root_login == PERMIT_NOT_SET) 225 if (options->permit_root_login == PERMIT_NOT_SET)
225 options->permit_root_login = PERMIT_YES; 226 options->permit_root_login = PERMIT_NO;
226 if (options->ignore_rhosts == -1) 227 if (options->ignore_rhosts == -1)
227 options->ignore_rhosts = 1; 228 options->ignore_rhosts = 1;
228 if (options->ignore_user_known_hosts == -1) 229 if (options->ignore_user_known_hosts == -1)