diff --git a/live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early b/live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early index bb8cab52..cada0005 100755 --- a/live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early +++ b/live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early @@ -14,7 +14,7 @@ gshadow_hash=$(set -- $(md5sum /etc/gshadow) && echo $1) # /etc/passwd if [ "$passwd_bootstrap" = "$passwd_hash" ]; then - cat > /etc/passwd <<'EOF' + cat > /etc/passwd < /etc/shadow <<'EOF' + cat > /etc/shadow < /etc/group <<'EOF' + cat > /etc/group < /etc/gshadow <<'EOF' + cat > /etc/gshadow <