Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated option UsePrivilegeSeparation #183

Open
laurentL opened this issue Jul 20, 2020 · 2 comments
Open

Deprecated option UsePrivilegeSeparation #183

laurentL opened this issue Jul 20, 2020 · 2 comments
Assignees

Comments

@laurentL
Copy link

Hi,
https://www.openssh.com/releasenotes.html
OpenSSH 7.5/7.5p1 (2017-03-20)
This release includes a number of changes that may affect existing
configurations:

  • This release deprecates the sshd_config UsePrivilegeSeparation
    option, thereby making privilege separation mandatory. Privilege
    separation has been on by default for almost 15 years and
    sandboxing has been on by default for almost the last five.

UsePrivilegeSeparation must be remove,
Impact: impossible to start sshd

@myii
Copy link
Member

myii commented Jul 23, 2020

@laurentL Apologies for the delay, just a quick response here.

https://github.com/saltstack-formulas/openssh-formula/search?q=UsePrivilegeSeparation&unscoped_q=UsePrivilegeSeparation

  • It should be possible to change the value of UsePrivilegeSeparation for the time being.

As for the longer term, then we can look at how to remove it without affecting those using older versions of OpenSSH.

@alxwr
Copy link
Member

alxwr commented Feb 9, 2024

UsePrivilegeSeparation has been an opt-in for quite some time now.

{{- option('UsePrivilegeSeparation') -}}

Unless the administrator explicitly enables it, there is no impact at all.

I agree that we could just remove UsePrivilegeSeparation from this formula.

If existing Pillar data requires it, It will still work via

{#- Handling unknown in salt template options -#}
.

I opened a PR.

@alxwr alxwr self-assigned this Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants