mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-03-04 16:21:35 +01:00
Replace `usermod -o -u 0 node` and `groupmod -o -g 0 node` with direct sed modifications to /etc/passwd and /etc/group. The usermod/groupmod commands can hang indefinitely in container environments due to lock file contention, NSS cache daemon (nscd) interactions, or PAM module issues. The sed approach achieves the same result without these risks. Fixes #XXXX Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com>