From d2cf67ec29aa727b3da0cb83bc6b60f65da4c3e7 Mon Sep 17 00:00:00 2001 From: Francis Turner Date: Mon, 15 Jun 2020 08:24:02 +0200 Subject: [PATCH] Fix issue 422 (stage2/01-sys-tweaks/01-run.sh ) https://github.com/RPi-Distro/pi-gen/issues/422 --- stage2/01-sys-tweaks/01-run.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/stage2/01-sys-tweaks/01-run.sh b/stage2/01-sys-tweaks/01-run.sh index 8d28adc..10aec30 100755 --- a/stage2/01-sys-tweaks/01-run.sh +++ b/stage2/01-sys-tweaks/01-run.sh @@ -45,6 +45,12 @@ for GRP in adm dialout cdrom audio users sudo video games plugdev input gpio spi done EOF +# Add line to replace the username for pi in sudoers.d/010_pi-nopasswd +on_chroot <