From df1ebf67a2635e68a88e0eb7555bf6382a46a350 Mon Sep 17 00:00:00 2001 From: Ayush Mukherjee Date: Sat, 8 Jan 2022 21:24:38 +0530 Subject: [PATCH] remove useradd for consul --- consul-bootstrap.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/consul-bootstrap.sh b/consul-bootstrap.sh index 36c5bee..7ce2571 100755 --- a/consul-bootstrap.sh +++ b/consul-bootstrap.sh @@ -19,9 +19,6 @@ elif [ "$#" -eq 1 ] && [ "$1" == "-h" ]; then exit 1 fi -# create consul user -useradd --system --home /etc/consul.d --shell /bin/false consul - # create directory if doesn't exist and set permissions mkdir -p /etc/consul.d/ && chown -R consul:consul /etc/consul.d/