Files
ansible-hardening/doc/metadata/rhel7/RHEL-07-040310.rst
Rahul Nair 4e8bf6705f Trivial fix to the documentation
- Removing extra space
_ Fixing some typos

Change-Id: Ib4f86c7a29074ce0150a3cd55478ed94f2d62c43
2016-12-05 11:24:34 -06:00

550 B

---id: RHEL-07-040310 status: implemented tag: sshd ---

The PermitRootLogin configuration is set to no in /etc/ssh/sshd_config and sshd is restarted.

Deployers can opt out of this change by setting the following Ansible variable:

security_sshd_permit_root_login: no

Warning

Ensure that a regular user account exists with a pathway to root access (preferably via sudo) before applying the security role. This configuration change disallows any direct logins with the root user.