Attempt to set HOME for npmuser backend

This commit is contained in:
Jamie Curnow
2023-03-22 13:00:26 +10:00
parent 9a799d51ce
commit 5ac9dc0758
2 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ PGID=${PGID:-911}
log_info 'Creating npmuser ...'
groupmod -g 1000 users || exit 1
useradd -u "${PUID}" -U -d /data -s /bin/false npmuser || exit 1
useradd -u "${PUID}" -U -d /tmp/npmuserhome -s /bin/false npmuser || exit 1
usermod -G users npmuser || exit 1
groupmod -o -g "$PGID" npmuser || exit 1
# Home for npmuser