Bug 2022466

Summary: sshd does not permits to ssh as root by default
Product: Red Hat Enterprise Linux 9 Reporter: Carlos Santos <casantos>
Component: opensshAssignee: Dmitry Belyavskiy <dbelyavs>
Status: CLOSED NOTABUG QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: low Docs Contact:
Priority: unspecified    
Version: 9.0CC: jjelen
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-11 18:22:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Carlos Santos 2021-11-11 17:37:31 UTC
Description of problem:

The default sshd configuration does not permits to ssh as root by default, as it
did in previous releases.

Version-Release number of selected component (if applicable):

openssh-server-8.6p1-7.el9.1.x86_64

How reproducible:

always

Steps to Reproduce:
1. Install RHEL-9
2. Try to ssh as root

Actual results:

ssh as root is denied

Expected results:

ssh as root should be allowed

Additional info:

I understand that the change is a security improvement but it should be
documented in the release notes.

Comment 2 Dmitry Belyavskiy 2021-11-11 18:22:20 UTC
It's a desired behavior. You could enable root login editing the sshd_config file.