remove pass for root

oops.
This commit is contained in:
brent s. 2014-12-21 11:46:10 -05:00
parent cc29913f6d
commit e62ccefb75
1 changed files with 3 additions and 0 deletions

View File

@ -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