Creation of user account for datserver
This commit is contained in:
parent
842d72b0ad
commit
8b8d3b5b96
|
@ -269,7 +269,7 @@ function install_datserver {
|
||||||
rm -rf $DATSERVER_DIRECTORY
|
rm -rf $DATSERVER_DIRECTORY
|
||||||
fi
|
fi
|
||||||
mkdir $DATSERVER_DIRECTORY
|
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
|
if [ ! -d $DATSERVER_DIRECTORY ]; then
|
||||||
echo $'dat directory was not created'
|
echo $'dat directory was not created'
|
||||||
exit 9568356
|
exit 9568356
|
||||||
|
|
Loading…
Reference in New Issue