diff options
-rw-r--r-- | etc/nextcloudpi-config.d/samba.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/nextcloudpi-config.d/samba.sh b/etc/nextcloudpi-config.d/samba.sh index 9a9153ba..6a3910ce 100644 --- a/etc/nextcloudpi-config.d/samba.sh +++ b/etc/nextcloudpi-config.d/samba.sh @@ -103,7 +103,7 @@ EOF EOF ## create user with no login if it doesn't exist - id "$user" &>/dev/null || adduser --disabled-password --gecos "" "$user" + id "$user" &>/dev/null || adduser --disabled-password --force-badname --gecos "" "$user" || return 1 echo -e "$PWD_\n$PWD_" | smbpasswd -s -a $user usermod -aG www-data $user |