mirror of
https://github.com/buanet/ioBroker.docker.git
synced 2025-12-24 21:55:40 +02:00
latest changes
This commit is contained in:
2
debian/scripts/iobroker_startup.sh
vendored
2
debian/scripts/iobroker_startup.sh
vendored
@@ -160,7 +160,7 @@ echo " "
|
||||
# Setting UID and/ or GID
|
||||
if [[ "$setgid" != "$(cat /etc/group | grep 'iobroker:' | cut -d':' -f3)" || "$setuid" != "$(cat /etc/passwd | grep 'iobroker:' | cut -d':' -f3)" ]]; then
|
||||
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
|
||||
groupmod -og "$setgid" iobroker
|
||||
echo "Done."
|
||||
|
||||
Reference in New Issue
Block a user