Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias K <6317548+theCalcaholic@users.noreply.github.com>2022-09-30 13:35:54 +0300
committerTobias K <6317548+theCalcaholic@users.noreply.github.com>2022-09-30 13:39:06 +0300
commitda1295dd8222e20fac247965bb59dbac05b83321 (patch)
tree3325086b7d87b0a5229873947466e39c19ef9608
parent0759aeaaae985f97d458d79253b2455bd047d9dd (diff)
build-SD-rpi.sh: Don't set pi user as default in SSHfix/pi-user-disabled
-rwxr-xr-xbuild/build-SD-rpi.sh5
1 files changed, 0 insertions, 5 deletions
diff --git a/build/build-SD-rpi.sh b/build/build-SD-rpi.sh
index 429133ff..d7cc0b70 100755
--- a/build/build-SD-rpi.sh
+++ b/build/build-SD-rpi.sh
@@ -80,11 +80,6 @@ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \
sed -i 's|^#PermitRootLogin .*|PermitRootLogin no|' /etc/ssh/sshd_config
# default user 'pi' for SSH
- cfg="$(jq '.' etc/ncp-config.d/SSH.cfg)"
- cfg="$(jq '.params[1].value = "pi"' <<<"$cfg")"
- cfg="$(jq '.params[2].value = "raspberry"' <<<"$cfg")"
- cfg="$(jq '.params[3].value = "raspberry"' <<<"$cfg")"
- echo "$cfg" > /usr/local/etc/ncp-config.d/SSH.cfg
# cleanup
source etc/library.sh && run_app_unsafe post-inst.sh