summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMattie <pugmatt@gmail.com>2022-08-08 21:19:40 -0400
committerGitHub <noreply@github.com>2022-08-08 21:19:40 -0400
commit29e4c21e7d48838b74874745be2e26839a94ea88 (patch)
treec9a2b09c5eb2e2525c245cae910ca732faa0371a /scripts
parentffe10054a959cb976d551a9fb6d431d103431056 (diff)
downloadBedrockConnect-29e4c21e7d48838b74874745be2e26839a94ea88.tar.gz
BedrockConnect-29e4c21e7d48838b74874745be2e26839a94ea88.tar.bz2
BedrockConnect-29e4c21e7d48838b74874745be2e26839a94ea88.zip
Fixing possible security issue
Original discussion: https://github.com/Pugmatt/BedrockConnect/issues/308
Diffstat (limited to 'scripts')
-rw-r--r--scripts/install-service.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/install-service.sh b/scripts/install-service.sh
index b91ce60..650625d 100644
--- a/scripts/install-service.sh
+++ b/scripts/install-service.sh
@@ -32,8 +32,7 @@ fi
# Add user
$ADDUSER \
- --system \
- --shell /bin/bash \
+ --shell /dev/null \
--user-group \
--password "$(dd bs=36 count=1 if=/dev/urandom 2>/dev/null | base64)" \
--home /home/mcbc \