Explorar el Código

fix(sshd_config): drop UsePrivilegeSeparation (fixes #183)

pull/209/head
Alexander Weidinger hace 11 meses
padre
commit
46effa63da
Se han modificado 2 ficheros con 0 adiciones y 14 borrados
  1. +0
    -11
      openssh/config.sls
  2. +0
    -3
      openssh/files/default/sshd_config

+ 0
- 11
openssh/config.sls Ver fichero

@@ -129,14 +129,3 @@ ssh_host_{{ keyType }}_key.pub:
- service: {{ openssh.service }}
{%- endif %}
{%- 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 %}

+ 0
- 3
openssh/files/default/sshd_config Ver fichero

@@ -86,9 +86,6 @@
{#- HostKeys for protocol version 2 -#}
{{- option('HostKey') -}}

{#- Privilege Separation is turned on for security -#}
{{- option('UsePrivilegeSeparation') -}}

{#- Logging -#}
{{- option('SyslogFacility') -}}
{{- option('LogLevel') -}}

Cargando…
Cancelar
Guardar