diff --git a/install_opi5.sh b/install_opi5.sh index 8c5f004..146ff29 100755 --- a/install_opi5.sh +++ b/install_opi5.sh @@ -8,6 +8,9 @@ else usermod -a -G sudo pi mkdir /home/pi chown -R pi /home/pi + + echo 'pi ALL=(ALL) NOPASSWD: ALL' | tee -a /etc/sudoers.d/010_pi-nopasswd >/dev/null + chmod 0440 /etc/sudoers.d/010_pi-nopasswd fi echo "pi:raspberry" | chpasswd