basessh: sandbox privsep is not supported on el6
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
parent
9b09d4d5d0
commit
5080bfbee2
1 changed files with 4 additions and 0 deletions
|
@ -31,7 +31,11 @@ AllowAgentForwarding no
|
||||||
X11Forwarding no
|
X11Forwarding no
|
||||||
PermitTunnel no
|
PermitTunnel no
|
||||||
|
|
||||||
|
{% if ansible_distribution_major_version == "6" %}
|
||||||
|
UsePrivilegeSeparation yes
|
||||||
|
{% else %}
|
||||||
UsePrivilegeSeparation sandbox
|
UsePrivilegeSeparation sandbox
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
# Accept locale-related environment
|
# Accept locale-related environment
|
||||||
AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
|
AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue