jonathancammack / rpms / openssh

Forked from rpms/openssh 8 months ago
Clone
8f2528
diff -up openssh-7.4p1/servconf.c.permit-root openssh-7.4p1/servconf.c
8f2528
--- openssh-7.4p1/servconf.c.permit-root	2017-02-10 10:27:18.109487568 +0100
8f2528
+++ openssh-7.4p1/servconf.c	2017-02-10 10:28:12.385776132 +0100
8f2528
@@ -231,7 +231,7 @@ fill_default_server_options(ServerOption
8f2528
 	if (options->login_grace_time == -1)
8f2528
 		options->login_grace_time = 120;
8f2528
 	if (options->permit_root_login == PERMIT_NOT_SET)
8f2528
-		options->permit_root_login = PERMIT_NO_PASSWD;
8f2528
+		options->permit_root_login = PERMIT_YES;
8f2528
 	if (options->ignore_rhosts == -1)
8f2528
 		options->ignore_rhosts = 1;
8f2528
 	if (options->ignore_user_known_hosts == -1)
8f2528
diff -up openssh-7.4p1/sshd_config.5.permit-root openssh-7.4p1/sshd_config.5
8f2528
--- openssh-7.4p1/sshd_config.5.permit-root	2017-02-10 10:28:24.174605582 +0100
8f2528
+++ openssh-7.4p1/sshd_config.5	2017-02-10 10:28:42.254344023 +0100
8f2528
@@ -1227,7 +1227,7 @@ The argument must be
8f2528
 or
8f2528
 .Cm no .
8f2528
 The default is
8f2528
-.Cm prohibit-password .
8f2528
+.Cm yes .
8f2528
 .Pp
8f2528
 If this option is set to
8f2528
 .Cm prohibit-password
8f2528
diff -up openssh-7.4p1/sshd_config.permit-root openssh-7.4p1/sshd_config
8f2528
--- openssh-7.4p1/sshd_config.permit-root	2017-02-10 10:26:52.256797645 +0100
8f2528
+++ openssh-7.4p1/sshd_config	2017-02-10 10:26:52.276797405 +0100
8f2528
@@ -35,7 +35,7 @@ SyslogFacility AUTHPRIV
8f2528
 # Authentication:
8f2528
 
8f2528
 #LoginGraceTime 2m
8f2528
-#PermitRootLogin prohibit-password
8f2528
+#PermitRootLogin yes
8f2528
 #StrictModes yes
8f2528
 #MaxAuthTries 6
8f2528
 #MaxSessions 10