blob: b36cc4d32de0018c5e41b7ca64b7c30a481b0c66 [file] [log] [blame]
Dmitry Teselkine9420e72018-04-03 13:49:39 +03001# 5.2.9 Ensure SSH PermitEmptyPasswords is disabled (Scored)
2#
3# Profile Applicability
4# ---------------------
5# - Level 1 - Server
6# - Level 1 - Workstation
7#
8# Description
9# -----------
10# The PermitEmptyPasswords parameter specifies if the SSH server allows login to accounts
11# with empty password strings.
12#
13# Rationale
14# ---------
15# Disallowing remote shell access to accounts that have an empty password reduces the
16# probability of unauthorized access to the system
17#
18# Audit
19# -----
20# Run the following command and verify that output matches:
21#
22# # grep "^PermitEmptyPasswords" /etc/ssh/sshd_config
23# PermitEmptyPasswords no
24#
25# Remediation
26# -----------
27# Edit the /etc/ssh/sshd_config file to set the parameter as follows:
28#
29# PermitEmptyPasswords no
30
31parameters:
32 openssh:
33 server:
34 permit_empty_passwords: False