From 3999439a05cec313e8568f60e1aff22a44c19270 Mon Sep 17 00:00:00 2001 From: Andres Salomon Date: Tue, 19 Aug 2008 18:04:44 -0400 Subject: [PATCH] initchroot: disable root passwd Signed-off-by: Andres Salomon --- initchroot.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/initchroot.sh b/initchroot.sh index 322abe4..3f67d5f 100755 --- a/initchroot.sh +++ b/initchroot.sh @@ -105,6 +105,7 @@ EndSection EOF # add default user +(chroot ${ROOT_DIR} passwd -l root) (chroot ${ROOT_DIR} useradd -s /bin/bash ${DEFUSER}) (chroot ${ROOT_DIR} passwd -d ${DEFUSER}) (chroot ${ROOT_DIR} adduser ${DEFUSER} cdrom) -- 2.39.5