diff --git a/scripts/serviceaccount.sh b/scripts/serviceaccount.sh index 1fe9b51..bd8f071 100644 --- a/scripts/serviceaccount.sh +++ b/scripts/serviceaccount.sh @@ -9,7 +9,7 @@ function restofscript(){ useradd -m -s /bin/bash ${USERNAMETOADD} echo "${USERNAMETOADD}:${PASSWORDTOADD}" | chpasswd loginctl enable-linger ${USERNAMETOADD} - cd ~/home/${USERNAMETOADD} + cd /home/${USERNAMETOADD} mkdir .ssh pushd .ssh pwd