diff --git a/startJD2.sh b/startJD2.sh index 17bdfdd..ece3cf8 100755 --- a/startJD2.sh +++ b/startJD2.sh @@ -3,7 +3,7 @@ if [ "$GID" ] && [ "$GID" -ne "0" ] then GROUP=jdownloader - groupadd -g $GID $GROUP + addgroup -g $GID $GROUP else GROUP=root fi @@ -11,7 +11,7 @@ fi if [ "$UID" ] && [ "$UID" -ne "0" ] then USER=jdownloader - useradd -r -N -s /bin/false -u $UID $USER + adduser -S -D -s /bin/false -u $UID $USER else USER=root fi