mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-24 01:31:51 +02:00
Add to group 0
This commit is contained in:
@@ -47,3 +47,10 @@ elif ! bashio::config.has_value 'PASSWORD' && [[ -n "$(bashio::addon.port "3000"
|
|||||||
bashio::log.warning "You are opening an external port but your password is not defined"
|
bashio::log.warning "You are opening an external port but your password is not defined"
|
||||||
bashio::log.warning "You risk being hacked ! Please disable the external ports, or use a password"
|
bashio::log.warning "You risk being hacked ! Please disable the external ports, or use a password"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Set permissions
|
||||||
|
|
||||||
|
# Set permissions
|
||||||
|
echo "... setting permissions for node user"
|
||||||
|
usermod -o -u 0 abc &>/dev/null
|
||||||
|
groupmod -o -g 0 abc &>/dev/null
|
||||||
|
|||||||
Reference in New Issue
Block a user