From 68bbc9cf0389369f86526fa239ab12f38a004467 Mon Sep 17 00:00:00 2001 From: Alexander Lutay Date: Thu, 13 Apr 2017 12:29:44 +0200 Subject: [PATCH] TT#12307 Update SSHd home path to support both jessie and stretch It will fix the error on Debian stretch: > User: sshd: home: doesn't match, expect: ["/var/run/sshd"] found: ["/run/sshd"] 0 ms Change-Id: I1688699663ccb72681772fdcd80df8b4991caba6 --- ce/05_system_users.yaml.tt2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ce/05_system_users.yaml.tt2 b/ce/05_system_users.yaml.tt2 index 80c9be6..7d211f8 100644 --- a/ce/05_system_users.yaml.tt2 +++ b/ce/05_system_users.yaml.tt2 @@ -133,7 +133,10 @@ user: exists: true groups: - nogroup - home: "/var/run/sshd" + home: + or: + - "/var/run/sshd" + - "/run/sshd" www-data: exists: true