This commit is contained in:
buanet
2022-11-01 09:13:10 +01:00
parent 5bfd28927d
commit c128a8fe29
3 changed files with 6 additions and 3 deletions

View File

@@ -129,7 +129,7 @@ if [[ "$setgid" != "$(cat /etc/group | grep 'iobroker:' | cut -d':' -f3)" || "$s
echo "SETUID and/ or SETGID are set to individual values."
echo -n "Changing UID to "$setuid" and GID to "$setgid"... "
usermod -u $setuid iobroker
groupmod -g $setgid iobroker
groupmod -og $setgid iobroker
echo 'Done.'
echo ' '
fi