DIsabling root login
29 Oct 2017 at 6:14 PM
A security measure you should establish on any new Linux server is preventing root login and then severely restrict which non root users can log in.
This forces the user to log in as a less privileged user first and then log in as root only after they have already logged in as the less privileged user.
To set this up add the following settings to /etc/ssh/sshd_config:
For more details: