mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2024-11-28 01:18:12 +01:00
fix(sshd_config): drop UsePrivilegeSeparation (fixes #183)
This commit is contained in:
parent
09fce3143b
commit
46effa63da
@ -129,14 +129,3 @@ ssh_host_{{ keyType }}_key.pub:
|
|||||||
- service: {{ openssh.service }}
|
- service: {{ openssh.service }}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
|
|
||||||
{%- if sshd_config.get('UsePrivilegeSeparation', '')|lower == 'yes' %}
|
|
||||||
/var/run/sshd:
|
|
||||||
file.directory:
|
|
||||||
- user: root
|
|
||||||
- mode: 755
|
|
||||||
- require_in:
|
|
||||||
- file: sshd_config
|
|
||||||
- watch_in:
|
|
||||||
- service: {{ openssh.service }}
|
|
||||||
{%- endif %}
|
|
||||||
|
@ -86,9 +86,6 @@
|
|||||||
{#- HostKeys for protocol version 2 -#}
|
{#- HostKeys for protocol version 2 -#}
|
||||||
{{- option('HostKey') -}}
|
{{- option('HostKey') -}}
|
||||||
|
|
||||||
{#- Privilege Separation is turned on for security -#}
|
|
||||||
{{- option('UsePrivilegeSeparation') -}}
|
|
||||||
|
|
||||||
{#- Logging -#}
|
{#- Logging -#}
|
||||||
{{- option('SyslogFacility') -}}
|
{{- option('SyslogFacility') -}}
|
||||||
{{- option('LogLevel') -}}
|
{{- option('LogLevel') -}}
|
||||||
|
Loading…
Reference in New Issue
Block a user