Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to disable SSH root access in Fedora 27 using the Terminal?

I just executed the command "rkhunter --check" and there's a warning telling me to disable remote root access, also known as Secure Shell root login. I managed to do this in previous versions of Fedora by changing a line in the config file /var/log/rkhunter/rkhunter.log from "#PermitRootLogin" to "PermitRootLogin". As of now, this doesn't have any effect on the warning issued by rkhunter. So, is this a flaw in rkhunter or a change in the source code of Fedora? Any type of help that fixes this issue is highly appreciated.