mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-10-29 09:11:44 +00:00
Add to group 0
This commit is contained in:
1 parent
9df82aae59
commit
d59bffdb5a
1 file changed
+7
@@ -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