Adjust rkhunter template
This commit is contained in:
parent
77c7b50017
commit
4639bc617f
1 changed files with 3 additions and 3 deletions
|
@ -165,11 +165,11 @@ ALLOW_SSH_ROOT_USER=without-password
|
||||||
# configuration file, then a value of '2' may be set here in order to
|
# configuration file, then a value of '2' may be set here in order to
|
||||||
# suppress a warning message. This option has a default value of '0'.
|
# suppress a warning message. This option has a default value of '0'.
|
||||||
#
|
#
|
||||||
{% if ansible_distribution_major_version|int < 22 %}
|
{% if ansible_distribution == 'Fedora' and ansible_distribution_major_version|int < 22 %}
|
||||||
# Fedora doesn't set protocol in ssh config
|
# Fedora 21 doesn't set protocol in ssh config
|
||||||
ALLOW_SSH_PROT_V1=2
|
ALLOW_SSH_PROT_V1=2
|
||||||
{% else %}
|
{% else %}
|
||||||
# RHEL sets proto to v2 only
|
# For RHEL and Fedora 22+ we set proto to v2 only
|
||||||
ALLOW_SSH_PROT_V1=0
|
ALLOW_SSH_PROT_V1=0
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue