LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File 0101-do-not-set-the-root-password-in-the-debian-template.patch of Package lxc-2.0 (Project home:ojkastl_buildservice:Debian_lxc)

From 104f388c341f3d3f73ca41cd5150d1dce06e3f55 Mon Sep 17 00:00:00 2001
From: Evgeni Golov <evgeni@debian.org>
Date: Wed, 13 Apr 2016 18:04:19 +0200
Subject: [PATCH] do not set the root password in the debian template

closes #302

Signed-off-by: Evgeni Golov <evgeni@debian.org>
Signed-off-by: Johannes Kastl <opensuse_buildservice@ojkastl.de>
---
 templates/lxc-debian.in | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/templates/lxc-debian.in b/templates/lxc-debian.in
index 55afee1b994f3dcde2181ddb87e818e864a86270..a7ff1fdfa55a7b1b57c81e9185298a1fda9c3f3b 100644
--- a/templates/lxc-debian.in
+++ b/templates/lxc-debian.in
@@ -158,9 +158,6 @@ EOF
         echo "Timezone in container is not configured. Adjust it manually."
     fi
 
-    echo "root:root" | chroot "$rootfs" chpasswd
-    echo "Root password is 'root', please change !"
-
     return 0
 }
 
-- 
2.11.0