为什么 RHEL 8 到 9 的 Leapp 预升级得到 "Possible problems with remote login using root account"?
Issue
- 对于 RHEL 8 到 9 的预升级 'PermitRootLogin yes' 值会获取失败。
Inhibitor: Possible problems with remote login using root account
Risk Factor: high (inhibitor)
Title: Possible problems with remote login using root account
Summary: OpenSSH configuration file will get updated to RHEL9 version, no longer allowing root login with password. It is a good practic
e to use non-root administrative user and non-password authentications, but if you rely on the remote root login, this change can lock y
ou out of this system.
Remediation: [hint] If you depend on remote root logins using passwords, consider setting up a different user for remote administration or adding a comment into the sshd_config next to the "PermitRootLogin yes" directive to prevent rpm replacing it during the upgrade.
Key: 3d21e8cc9e1c09dc60429de7716165787e99515f
For the Remediation, you can add a comment next to PermitRootLogin yes in order to bypass this.
Environment
-
Red Hat Enterprise Linux 8
-
Red Hat Enterprise Linux 9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.