mirror of
https://github.com/searxng/searxng.git
synced 2025-12-30 07:30:02 +00:00
utils/searx.sh: add script to install isolated searx service (WIP)
WIP: written from scratch / linted but untested Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
@@ -192,7 +192,8 @@ assert_user() {
|
||||
rst_title "user $SERVICE_USER" section
|
||||
echo
|
||||
tee_stderr 1 <<EOF | bash | prefix_stdout
|
||||
sudo -H adduser --shell /bin/bash --system --home $SERVICE_HOME --group --gecos 'Filtron' $SERVICE_USER
|
||||
sudo -H adduser --shell /bin/bash --system --home $SERVICE_HOME \
|
||||
--disabled-password --group --gecos 'Filtron' $SERVICE_USER
|
||||
sudo -H usermod -a -G shadow $SERVICE_USER
|
||||
groups $SERVICE_USER
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user