Why Leapp Preupgrade for RHEL 8 to 9 getting "Possible problems with remote login using root account" ?

Solution Verified - Updated -

Issue

  • For RHEL 8 to 9 leapp preupgrade 'PermitRootLogin yes' value is getting failed.
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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content