diff options
author | deraadt@openbsd.org <deraadt@openbsd.org> | 2015-07-30 19:23:02 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-08-02 19:59:25 +1000 |
commit | f4373ed1e8fbc7c8ce3fc4ea97d0ba2e0c1d7ef0 (patch) | |
tree | b8e3396035624e97e931d2058a84487f2ad9463e | |
parent | 0c30ba91f87fcda7e975e6ff8a057f624e87ea1c (diff) |
upstream commit
change default: PermitRootLogin without-password matching
install script changes coming as well ok djm markus
Upstream-ID: 0e2a6c4441daf5498b47a61767382bead5eb8ea6
-rw-r--r-- | servconf.c | 4 | ||||
-rw-r--r-- | sshd_config | 4 | ||||
-rw-r--r-- | sshd_config.5 | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/servconf.c b/servconf.c index 7506ad21f..f5d564efa 100644 --- a/servconf.c +++ b/servconf.c | |||
@@ -1,5 +1,5 @@ | |||
1 | 1 | ||
2 | /* $OpenBSD: servconf.c,v 1.277 2015/07/30 00:01:34 djm Exp $ */ | 2 | /* $OpenBSD: servconf.c,v 1.278 2015/07/30 19:23:02 deraadt Exp $ */ |
3 | /* | 3 | /* |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
5 | * All rights reserved | 5 | * All rights reserved |
@@ -89,7 +89,7 @@ initialize_server_options(ServerOptions *options) | |||
89 | options->server_key_bits = -1; | 89 | options->server_key_bits = -1; |
90 | options->login_grace_time = -1; | 90 | options->login_grace_time = -1; |
91 | options->key_regeneration_time = -1; | 91 | options->key_regeneration_time = -1; |
92 | options->permit_root_login = PERMIT_NOT_SET; | 92 | options->permit_root_login = PERMIT_NO_PASSWD; |
93 | options->ignore_rhosts = -1; | 93 | options->ignore_rhosts = -1; |
94 | options->ignore_user_known_hosts = -1; | 94 | options->ignore_user_known_hosts = -1; |
95 | options->print_motd = -1; | 95 | options->print_motd = -1; |
diff --git a/sshd_config b/sshd_config index cf7d8e1e8..46df1622f 100644 --- a/sshd_config +++ b/sshd_config | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: sshd_config,v 1.95 2015/04/27 21:42:48 djm Exp $ | 1 | # $OpenBSD: sshd_config,v 1.96 2015/07/30 19:23:02 deraadt Exp $ |
2 | 2 | ||
3 | # This is the sshd server system-wide configuration file. See | 3 | # This is the sshd server system-wide configuration file. See |
4 | # sshd_config(5) for more information. | 4 | # sshd_config(5) for more information. |
@@ -41,7 +41,7 @@ | |||
41 | # Authentication: | 41 | # Authentication: |
42 | 42 | ||
43 | #LoginGraceTime 2m | 43 | #LoginGraceTime 2m |
44 | #PermitRootLogin no | 44 | #PermitRootLogin without-password |
45 | #StrictModes yes | 45 | #StrictModes yes |
46 | #MaxAuthTries 6 | 46 | #MaxAuthTries 6 |
47 | #MaxSessions 10 | 47 | #MaxSessions 10 |
diff --git a/sshd_config.5 b/sshd_config.5 index 2808576a9..6eec1f668 100644 --- a/sshd_config.5 +++ b/sshd_config.5 | |||
@@ -33,7 +33,7 @@ | |||
33 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 33 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
34 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 34 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
35 | .\" | 35 | .\" |
36 | .\" $OpenBSD: sshd_config.5,v 1.208 2015/07/30 00:01:34 djm Exp $ | 36 | .\" $OpenBSD: sshd_config.5,v 1.209 2015/07/30 19:23:02 deraadt Exp $ |
37 | .Dd $Mdocdate: July 30 2015 $ | 37 | .Dd $Mdocdate: July 30 2015 $ |
38 | .Dt SSHD_CONFIG 5 | 38 | .Dt SSHD_CONFIG 5 |
39 | .Os | 39 | .Os |
@@ -1209,7 +1209,7 @@ The argument must be | |||
1209 | or | 1209 | or |
1210 | .Dq no . | 1210 | .Dq no . |
1211 | The default is | 1211 | The default is |
1212 | .Dq no . | 1212 | .Dq without-password . |
1213 | .Pp | 1213 | .Pp |
1214 | If this option is set to | 1214 | If this option is set to |
1215 | .Dq without-password , | 1215 | .Dq without-password , |