Skip to content

Commit

Permalink
fix(sshd_config): drop UsePrivilegeSeparation (fixes saltstack-formul…
Browse files Browse the repository at this point in the history
  • Loading branch information
alxwr committed Feb 9, 2024
1 parent 09fce31 commit 46effa6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
11 changes: 0 additions & 11 deletions openssh/config.sls
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
3 changes: 0 additions & 3 deletions openssh/files/default/sshd_config
Original file line number Diff line number Diff line change
Expand Up @@ -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') -}}
Expand Down

0 comments on commit 46effa6

Please sign in to comment.