From 4996f44e527c7913807d9bdca06dfd6cf30d4fba Mon Sep 17 00:00:00 2001 From: coolaj86 Date: Sat, 28 Oct 2017 00:09:04 +0000 Subject: [PATCH] no password, no gecos --- install.bash | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.bash b/install.bash index c16d528..9776aa5 100644 --- a/install.bash +++ b/install.bash @@ -1,11 +1,11 @@ #!/bin/bash # wget -O install-gitea.bash https://git.coolaj86.com/coolaj86/gitea-installer/raw/master/install.bash; bash install-gitea.bash - +# or # wget -O - https://git.coolaj86.com/coolaj86/gitea-installer/raw/master/install.bash | bash -# Create a 'gitea' user and group with the home /opt/gitea -sudo adduser gitea --home /opt/gitea +# Create a 'gitea' user and group with the home /opt/gitea, no password (because it's a system user) and no GECOS +sudo adduser gitea --home /opt/gitea --disabled-password --gecos '' # Make some other potentially useful directories for that user/group sudo mkdir -p /opt/gitea/ /var/log/gitea