From 8b8d3b5b960addc128142cc7fc7ac6567f592554 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 9 Apr 2018 14:40:54 +0100 Subject: [PATCH] Creation of user account for datserver --- src/freedombone-app-datserver | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/freedombone-app-datserver b/src/freedombone-app-datserver index 8fb55a4d..8e0002c6 100755 --- a/src/freedombone-app-datserver +++ b/src/freedombone-app-datserver @@ -269,7 +269,7 @@ function install_datserver { rm -rf $DATSERVER_DIRECTORY fi mkdir $DATSERVER_DIRECTORY - useradd -d "$DATSERVER_DIRECTORY" -s /bin/false datserver + useradd -c "datserver system account" -d "$DATSERVER_DIRECTORY" -m -r -g datserver datserver if [ ! -d $DATSERVER_DIRECTORY ]; then echo $'dat directory was not created' exit 9568356