mirror of
https://github.com/henrygd/beszel.git
synced 2025-12-16 18:26:16 +01:00
install-agent.sh: add 'beszel' user to disk group for device access
This commit is contained in:
@@ -571,6 +571,11 @@ else
|
||||
echo "Adding beszel to docker group"
|
||||
usermod -aG docker beszel
|
||||
fi
|
||||
# Add the user to the disk group to allow access to disk devices if group disk exists
|
||||
if getent group disk; then
|
||||
echo "Adding beszel to disk group"
|
||||
usermod -aG disk beszel
|
||||
fi
|
||||
fi
|
||||
|
||||
# Create the directory for the Beszel Agent
|
||||
|
||||
Reference in New Issue
Block a user