@@ -66,27 +66,27 @@ def process7to8(self, config):
6666 if not config .permit_root_login :
6767 add_permitrootlogin_conf ()
6868 create_report ([
69- reporting .Title ('SSH configuration automatically modified to permit root login' ),
70- reporting .Summary (
71- 'Your OpenSSH configuration file does not explicitly state '
72- 'the option PermitRootLogin in sshd_config file. '
73- 'Its default is "yes" in RHEL7, but will change in '
74- 'RHEL8 to "prohibit-password", which may affect your ability '
75- 'to log onto this machine after the upgrade. '
76- 'To prevent this from occuring, the PermitRootLogin option '
77- 'has been explicity set to "yes" to preserve the default behaivour '
78- 'after migration. '
79- 'The original configuration file has been backed up to '
80- '/etc/ssh/sshd_config.leapp_backup'
81- ),
82- reporting .Severity (reporting .Severity .MEDIUM ),
83- reporting .Groups (COMMON_REPORT_TAGS ),
84- reporting .Remediation (
85- hint = 'If you would prefer to configure the root login policy yourself, '
86- 'consider setting the PermitRootLogin option '
87- 'in sshd_config explicitly.'
88- )
89- ] + resources )
69+ reporting .Title ('SSH configuration automatically modified to permit root login' ),
70+ reporting .Summary (
71+ 'Your OpenSSH configuration file does not explicitly state '
72+ 'the option PermitRootLogin in sshd_config file. '
73+ 'Its default is "yes" in RHEL7, but will change in '
74+ 'RHEL8 to "prohibit-password", which may affect your ability '
75+ 'to log onto this machine after the upgrade. '
76+ 'To prevent this from occuring, the PermitRootLogin option '
77+ 'has been explicity set to "yes" to preserve the default behaivour '
78+ 'after migration. '
79+ 'The original configuration file has been backed up to '
80+ '/etc/ssh/sshd_config.leapp_backup'
81+ ),
82+ reporting .Severity (reporting .Severity .MEDIUM ),
83+ reporting .Groups (COMMON_REPORT_TAGS ),
84+ reporting .Remediation (
85+ hint = 'If you would prefer to configure the root login policy yourself, '
86+ 'consider setting the PermitRootLogin option '
87+ 'in sshd_config explicitly.'
88+ )
89+ ] + COMMON_RESOURCES )
9090 return
9191
9292 # Check if there is at least one PermitRootLogin other than "no"
0 commit comments