diff options
Diffstat (limited to 'nextcloudpi.sh')
-rw-r--r-- | nextcloudpi.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nextcloudpi.sh b/nextcloudpi.sh index b070b712..2d2af3da 100644 --- a/nextcloudpi.sh +++ b/nextcloudpi.sh @@ -94,8 +94,9 @@ EOF a2ensite ncp ## NCP USER FOR AUTHENTICATION - useradd $WEBADMIN - echo -e "$WEBPASSWD\n$WEBPASSWD" | passwd $WEBADMIN + useradd --home-dir /nonexistent "$WEBADMIN" + echo -e "$WEBPASSWD\n$WEBPASSWD" | passwd "$WEBADMIN" + chsh -s /usr/sbin/nologin "$WEBADMIN" ## NCP LAUNCHER mkdir -p /home/www |