Skip to content

Commit de0d35d

Browse files
Make sure that distro delivered config in /usr/etc/ssh/sshd_config is also checked for permissions
1 parent 98c01c2 commit de0d35d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • linux_os/guide/services/ssh/file_permissions_sshd_config

linux_os/guide/services/ssh/file_permissions_sshd_config/rule.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ template:
5050
vars:
5151
filepath:
5252
- /etc/ssh/sshd_config
53+
{{% if product == 'sle16' %}}
54+
- /usr/etc/ssh/sshd_config
55+
{{% endif %}}
5356
filemode: '0600'
5457

5558
platform: system_with_kernel

0 commit comments

Comments
 (0)