瀏覽代碼

Merge pull request #105 from Perceptyx/master

Create needed directory for UsePrivilegeSeparation option
master
alxwr 7 年之前
父節點
當前提交
7cd1faac84
共有 1 個檔案被更改,包括 9 行新增0 行删除
  1. +9
    -0
      openssh/config.sls

+ 9
- 0
openssh/config.sls 查看文件

@@ -85,3 +85,12 @@ ssh_host_{{ keyType }}_key.pub:
- service: {{ openssh.service }}
{%- endif %}
{%- endfor %}

{%- if salt['pillar.get']('sshd_config:UsePrivilegeSeparation', '')|lower == 'yes' %}
/var/run/sshd:
file.directory:
- user: root
- mode: 755
- watch_in:
- service: {{ openssh.service }}
{% endif %}

Loading…
取消
儲存