From 888f229914aab430bc76e300160bec0ee1020ee1 Mon Sep 17 00:00:00 2001 From: christos Date: Thu, 26 Dec 2024 14:17:00 +0200 Subject: [PATCH] update password generation --- install/semaphore-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/semaphore-install.sh b/install/semaphore-install.sh index 2997bca3..644d77b9 100644 --- a/install/semaphore-install.sh +++ b/install/semaphore-install.sh @@ -37,7 +37,7 @@ $STD dpkg -i semaphore_${RELEASE}_linux_amd64.deb SEM_HASH=$(openssl rand -base64 32) SEM_ENCRYPTION=$(openssl rand -base64 32) SEM_KEY=$(openssl rand -base64 32) -SEM_PW=$(openssl rand -base64 8) +SEM_PW=$(openssl rand -base64 12) cat </opt/semaphore/config.json { "bolt": { @@ -51,7 +51,7 @@ cat </opt/semaphore/config.json EOF $STD semaphore user add --admin --login admin --email admin@helper-scripts.com --name Administrator --password ${SEM_PW} --config /opt/semaphore/config.json -echo "${SEM_PW}" >~./semaphore.creds +echo "${SEM_PW}" >~/semaphore.creds echo "${RELEASE}" >"/opt/${APPLICATION}_version.txt" msg_ok "Setup Semaphore"