Explorar el Código

Add zeronet user

Bob Mottram hace 9 años
padre
commit
04915c98b7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/freedombone

+ 1
- 1
src/freedombone Ver fichero

@@ -1605,7 +1605,7 @@ function install_zeronet {
1605 1605
   apt-get -y install python python-msgpack python-gevent python-pip
1606 1606
   pip install msgpack-python --upgrade
1607 1607
 
1608
-  useradd --home /opt/zeronet/ --shell /sbin/nologin --user-group daemon zeronet
1608
+  useradd -d /opt/zeronet/ -s /bin/false zeronet
1609 1609
   git clone $ZERONET_REPO /opt/zeronet
1610 1610
   sudo chown -R zeronet:zeronet /opt/zeronet
1611 1611