Update install/ghost-install.sh

Co-authored-by: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com>
This commit is contained in:
fabrice1236 2025-01-09 20:16:37 +01:00 committed by GitHub
parent 695460a471
commit 0085682ed7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -64,7 +64,7 @@ msg_ok "Installed Ghost CLI"
# Create a new user for Ghost # Create a new user for Ghost
msg_info "Creating ghost-user" msg_info "Creating Service"
$STD adduser --disabled-password --gecos "Ghost user" ghost-user $STD adduser --disabled-password --gecos "Ghost user" ghost-user
$STD usermod -aG sudo ghost-user $STD usermod -aG sudo ghost-user
echo "ghost-user ALL=(ALL) NOPASSWD:ALL" | tee /etc/sudoers.d/ghost-user echo "ghost-user ALL=(ALL) NOPASSWD:ALL" | tee /etc/sudoers.d/ghost-user