commit dcdc07836e3854c8289b411e132345f1c9b312f8
parent d19908592ea051c7b344a5c4e26a1e058618c3c4
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date: Wed, 19 Jul 2023 23:46:20 +0200
fix(consul): remove consul system user
Diffstat:
1 file changed, 0 insertions(+), 4 deletions(-)
diff --git a/consul.sh b/consul.sh
@@ -13,10 +13,6 @@ cd "/home/${USERNAME}"
mkdir -p /opt/consul/tls
mv /tmp/tls/* /opt/consul/tls/
-# Consul system user
-useradd --system --home /etc/consul.d --shell /bin/false consul
-chown --recursive consul: /opt/consul
-
# Change ownership and permissions for tls certs
chown consul: /opt/consul/tls/*.pem
chmod 640 /opt/consul/tls/*.pem