From ec6388fc7ce52d6c11256d4f2199f9e8e7cd723a Mon Sep 17 00:00:00 2001 From: Yann Dirson Date: Fri, 8 Dec 2023 11:24:12 +0100 Subject: [PATCH] sshd_installer.conf: be more strict on sshpassword= identification Suggested-by: Frediano Ziglio Signed-off-by: Yann Dirson --- startup/sshd_installer.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/startup/sshd_installer.conf b/startup/sshd_installer.conf index a68ce22f..70b57ea3 100644 --- a/startup/sshd_installer.conf +++ b/startup/sshd_installer.conf @@ -2,4 +2,4 @@ ConditionKernelCommandLine=sshpassword [Service] -ExecStartPre=/bin/sh -c '/bin/sed -e "s/.*sshpassword=\([^ ]*\).*/root:\1/" /proc/cmdline | /sbin/chpasswd' +ExecStartPre=/bin/sh -c '/bin/sed -e "s/.*\