From d02de72ab0aa5188749a706c9f633a0924ec62ca Mon Sep 17 00:00:00 2001 From: rootzoll Date: Mon, 6 Aug 2018 21:33:16 +0200 Subject: [PATCH] fexed sudoers file --- build.sdcard/raspbianStretchDesktop.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sdcard/raspbianStretchDesktop.sh b/build.sdcard/raspbianStretchDesktop.sh index c4eb989..2614fb4 100644 --- a/build.sdcard/raspbianStretchDesktop.sh +++ b/build.sdcard/raspbianStretchDesktop.sh @@ -68,7 +68,7 @@ sudo adduser admin sudo sudo chsh admin -s /bin/bash # configure sudo for usage without password entry -sudo sed --in-place -i "7s/.*/%sudo ALL=(ALL) NOPASSWD:ALL/" /etc/sudoers +echo '%sudo ALL=(ALL) NOPASSWD:ALL' | sudo EDITOR='tee -a' visudo echo "*** ADDING SERVICE USER bitcoin" # based on https://github.com/Stadicus/guides/blob/master/raspibolt/raspibolt_20_pi.md#adding-the-service-user-bitcoin