Adding a zeronet user
This commit is contained in:
parent
67e4c6bb48
commit
c9d345c413
|
@ -1602,7 +1602,7 @@ function install_zeronet {
|
|||
apt-get -y install python python-msgpack python-gevent python-pip
|
||||
pip install msgpack-python --upgrade
|
||||
|
||||
adduser --home /opt/zeronet/ --shell /bin/false --no-create-home --ingroup daemon --disabled-password --disabled-login zeronet
|
||||
useradd --home /opt/zeronet/ --shell /sbin/nologin --user-group daemon zeronet
|
||||
git clone $ZERONET_REPO /opt/zeronet
|
||||
sudo chown -R zeronet:zeronet /opt/zeronet
|
||||
|
||||
|
|
Loading…
Reference in New Issue