From ccb8e47d0eafccef6b69c7094b3330dc95eeef54 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Sun, 27 Sep 2015 10:42:38 +0200 Subject: [PATCH] core94: allow rootlogin only if the user has not blocked it before. Signed-off-by: Arne Fitzenreiter --- config/rootfiles/core/94/update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/rootfiles/core/94/update.sh b/config/rootfiles/core/94/update.sh index e2005af01b..7dca2a1fd3 100644 --- a/config/rootfiles/core/94/update.sh +++ b/config/rootfiles/core/94/update.sh @@ -44,7 +44,7 @@ extract_files # Update SSH configuration sed -i /etc/ssh/sshd_config \ - -e 's/^#\?PermitRootLogin .*$/PermitRootLogin yes/' + -e 's/^#PermitRootLogin yes$/PermitRootLogin yes/' # Move away old and unsupported keys mv -f /etc/ssh/ssh_host_dsa_key{,.old} -- 2.39.5