--- /usr/sbin/makechrootpkg 2008-04-12 03:52:02.000000000 +0200 +++ /usr/sbin/makechrootpkg.slb 2008-04-13 07:29:58.000000000 +0200 @@ -170,6 +170,7 @@ if ! grep "^nobody" "$uniondir/etc/sudoers" >/dev/null 2>&1; then echo "allowing 'nobody' sudo rights in the chroot" + echo "root ALL=(ALL) ALL" > "$uniondir/etc/sudoers" echo "nobody ALL=(ALL) NOPASSWD: ALL" >> "$uniondir/etc/sudoers" chmod 440 "$uniondir/etc/sudoers" fi