diff --git a/openssh-6.9p1-permit-root-login.patch b/openssh-6.9p1-permit-root-login.patch new file mode 100644 index 0000000..5d9df7c --- /dev/null +++ b/openssh-6.9p1-permit-root-login.patch @@ -0,0 +1,27 @@ +diff --git a/sshd_config b/sshd_config +index c9042ac..cf7d8e1 100644 +--- a/sshd_config ++++ b/sshd_config +@@ -41,7 +41,7 @@ + # Authentication: + + #LoginGraceTime 2m +-#PermitRootLogin no ++#PermitRootLogin yes + #StrictModes yes + #MaxAuthTries 6 + #MaxSessions 10 +diff --git a/sshd_config.5 b/sshd_config.5 +index 2bc9360..d3148c2 100644 +--- a/sshd_config.5 ++++ b/sshd_config.5 +@@ -1093,7 +1093,7 @@ The argument must be + or + .Dq no . + The default is +-.Dq no . ++.Dq yes . + .Pp + If this option is set to + .Dq without-password , + diff --git a/openssh.spec b/openssh.spec index 47ff189..705e7d1 100644 --- a/openssh.spec +++ b/openssh.spec @@ -221,6 +221,8 @@ Patch926: openssh-6.7p1-sftp-force-permission.patch # Memory problems # https://bugzilla.mindrot.org/show_bug.cgi?id=2401 Patch928: openssh-6.8p1-memory-problems.patch +# Restore compatible default (#89216) +Patch929: openssh-6.9p1-permit-root-login.patch @@ -443,6 +445,7 @@ popd %patch925 -p1 -b .newline %patch926 -p1 -b .sftp-force-mode %patch928 -p1 -b .memory +%patch929 -p1 -b .root-login %patch200 -p1 -b .audit %patch700 -p1 -b .fips