This commit is contained in:
buanet
2023-11-06 18:14:25 +01:00
parent b626063647
commit 2eb7f4e71f

View File

@@ -154,7 +154,7 @@ fi
echo " " echo " "
# Setting UID and/ or GID # Setting UID and/ or GID
if [[ "$setgid" != "$(id -u iobroker)" || "$setuid" != "$(id -u iobroker)" ]]; then if [[ "$setgid" != "$(id -u iobroker)" || "$setuid" != "$(id -g iobroker)" ]]; then
echo "SETUID and/ or SETGID are set to custom values." echo "SETUID and/ or SETGID are set to custom values."
echo -n "Changing UID to \"""$setuid""\" and GID to \"""$setgid""\"... " echo -n "Changing UID to \"""$setuid""\" and GID to \"""$setgid""\"... "
usermod -u "$setuid" iobroker usermod -u "$setuid" iobroker