From d6ae52ff55050f12550da264bcf09c51d012a67d Mon Sep 17 00:00:00 2001 From: Guido De Rosa Date: Sun, 15 Dec 2019 10:53:32 +0000 Subject: [PATCH] remove extra user in id command --- setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup b/setup index d9fd217..ace4008 100755 --- a/setup +++ b/setup @@ -43,7 +43,7 @@ bash etc/scripts/platform/debian/setup.sh $ONBOARD_ROOT $ONBOARD_USER bash modules/openvpn/etc/scripts/platform/debian/setup.sh $ONBOARD_ROOT $ONBOARD_USER if id -u pi 2> /dev/null; then # DO not show missing user error here... - if id -u pi $ONBOARD_USER > /dev/null; then # ...but so show it here! + if id -u $ONBOARD_USER > /dev/null; then # ...but so show it here! echo 'Disabling password authentication for user "pi" (Raspberry PI).' echo "We have the user '$ONBOARD_USER' instead." passwd -d pi