Don't create a 'pi' user

This commit is contained in:
Alexandre Aubin 2018-03-08 21:20:00 +01:00
parent b8bd921eee
commit 2f67040186
2 changed files with 0 additions and 7 deletions

View file

@ -6,10 +6,6 @@ install -m 744 files/policy-rc.d ${ROOTFS_DIR}/usr/sbin/policy-rc.d #TODO: Neces
install -v -m 644 files/fstab ${ROOTFS_DIR}/etc/fstab
on_chroot << EOF
if ! id -u pi >/dev/null 2>&1; then
adduser --disabled-password --gecos "" pi
fi
echo "pi:raspberry" | chpasswd
echo "root:root" | chpasswd
EOF

View file

@ -44,9 +44,6 @@ on_chroot << \EOF
for GRP in input spi i2c gpio; do
groupadd -f -r $GRP
done
for GRP in adm dialout cdrom audio users sudo video games plugdev input gpio spi i2c netdev; do
adduser pi $GRP
done
EOF
on_chroot << EOF