From e62ccefb75506d506ec23127f02e3401458d62bd Mon Sep 17 00:00:00 2001 From: r00t Date: Sun, 21 Dec 2014 11:46:10 -0500 Subject: [PATCH] remove pass for root oops. --- lib/mk.chroot.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/mk.chroot.sh b/lib/mk.chroot.sh index 19978ed..273401c 100755 --- a/lib/mk.chroot.sh +++ b/lib/mk.chroot.sh @@ -196,6 +196,7 @@ EOF set +e ${CHROOTCMD} ${i}/ bash -c "yaourt -S --needed --noconfirm linux" >> "${LOGFILE}.${FUNCNAME}" 2>&1 set -e + # Uncomment if you wish to use the mkpasswd binary from within the chroot... #${CHROOTCMD} ${i}/ bash -c "yaourt -S --needed --noconfirm debian-whois-mkpasswd" >> "${LOGFILE}.${FUNCNAME}" 2>&1 for x in $(find ${i}/etc/ -type f -iname "*.pacorig");do mv -f ${x} ${x%%.pacorig} ; done echo -n "Regular packages..." @@ -213,6 +214,8 @@ EOF then ${CHROOTCMD} ${i}/ echo "${REGUSR}:${REGUSR_PASS}" | chpasswd -e fi + # COMMENT THIS LINE IF YOU WANT TO SET A ROOT PASSWORD + ${CHROOTCMD} ${i}/ usermod -L root echo "Done." done