From 57c38aa9e1125280f5db9a3b927b2928b69f5369 Mon Sep 17 00:00:00 2001 From: r00t Date: Wed, 24 Dec 2014 01:54:30 -0500 Subject: [PATCH] small issue in make chroot. --- lib/mk.chroot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mk.chroot.sh b/lib/mk.chroot.sh index 7b7335f..627aee5 100755 --- a/lib/mk.chroot.sh +++ b/lib/mk.chroot.sh @@ -238,7 +238,7 @@ EOF then ${CHROOTCMD} ${i}/ passwd -d root >> "${LOGFILE}.${FUNCNAME}" 2>&1 else - ${CHROOTCMD} ${i}/ passwd -d root >> "${LOGFILE}.${FUNCNAME}" 2>&1 + ${CHROOTCMD} ${i}/ usermod -L ${REGUSR} >> "${LOGFILE}.${FUNCNAME}" 2>&1 fi # The following is supposed to do the same as the above, but "cleaner". However, it currently fails with "execv() failed: No such file or directory" ##${CHROOTCMD} ${i}/ usermod -L root >> "${LOGFILE}.${FUNCNAME}" 2>&1