evocheck: Fix IS_SSHALLOWUSERS condition
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2628|4|2624|4|:-1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/328//ansiblelint">Evolix » ansible-roles » unstable #328</a>
gitea/ansible-roles/pipeline/head This commit looks good
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2628|4|2624|4|:-1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/328//ansiblelint">Evolix » ansible-roles » unstable #328</a>
gitea/ansible-roles/pipeline/head This commit looks good
This commit is contained in:
parent
53aab6f405
commit
b8b48bbcb9
2 changed files with 2 additions and 1 deletions
|
@ -69,6 +69,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
|
|||
* redis: replace errorneous ini_file module for Munin config, fix dedicted Munin config filename (z-XXX).
|
||||
* evolinux-base, evolinux-users: Fix files mode under /etc/ssh/sshd_config.d
|
||||
* evolinux-base: Fix file extension
|
||||
* evocheck: Fix IS_SSHALLOWUSERS condition
|
||||
|
||||
### Removed
|
||||
|
||||
|
|
|
@ -235,7 +235,7 @@ check_sshallowusers() {
|
|||
grep -E -qir "(AllowUsers|AllowGroups)" /etc/ssh/sshd_config.d \
|
||||
|| failed "IS_SSHALLOWUSERS" "missing AllowUsers or AllowGroups directive in sshd_config.d/*"
|
||||
grep -E -qir "(AllowUsers|AllowGroups)" /etc/ssh/sshd_config \
|
||||
|| failed "IS_SSHALLOWUSERS" "AllowUsers or AllowGroups directive present in sshd_config"
|
||||
&& failed "IS_SSHALLOWUSERS" "AllowUsers or AllowGroups directive present in sshd_config"
|
||||
else
|
||||
grep -E -qir "(AllowUsers|AllowGroups)" /etc/ssh/sshd_config /etc/ssh/sshd_config.d \
|
||||
|| failed "IS_SSHALLOWUSERS" "missing AllowUsers or AllowGroups directive in sshd_config"
|
||||
|
|
Loading…
Reference in a new issue