Bug 1756593

Summary: Warning: The SSH configuration option 'PermitRootLogin' has not been set.
Product: [Fedora] Fedora Reporter: Nerijus BaliĆ«nas <nerijus>
Component: rkhunterAssignee: Kevin Fenzi <kevin>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 31CC: kevin, manuel.wolfshant, nonamedotc
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rkhunter-1.4.6-6.fc31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-10-26 17:22:47 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 Nerijus Baliƫnas 2019-09-28 10:03:28 UTC
I upgraded from Fedora 30 to 31 and got a warning:
Warning: The SSH configuration option 'PermitRootLogin' has not been set.
         The default value may be 'yes', to allow root access.

/etc/ssh/sshd_config changed from:
PermitRootLogin yes
to
#PermitRootLogin prohibit-password

Changing ALLOW_SSH_ROOT_USER=yes to ALLOW_SSH_ROOT_USER=unset in /etc/rkhunter.conf makes the warning disappear.

Comment 1 Fedora Update System 2019-10-06 19:52:16 UTC
FEDORA-2019-6c0b07038a has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-6c0b07038a

Comment 2 Fedora Update System 2019-10-07 01:58:23 UTC
rkhunter-1.4.6-6.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-6c0b07038a

Comment 3 Fedora Update System 2019-10-26 17:22:47 UTC
rkhunter-1.4.6-6.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.