mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-04-15 22:51:37 -07:00
Update install/production-filesystem/services/scripts/check-root.sh
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
coderabbitai[bot]
parent
74a67e3b38
commit
15bc1635c2
@@ -20,9 +20,9 @@ if [ "${CURRENT_UID}" -eq 0 ]; then
|
|||||||
* Keep the default USER in the image (20211:20211), or
|
* Keep the default USER in the image (20211:20211), or
|
||||||
* In docker-compose.yml, remove any 'user:' override that sets UID 0.
|
* In docker-compose.yml, remove any 'user:' override that sets UID 0.
|
||||||
|
|
||||||
Note: As a courtesy, this special mode is only used to set the permissions
|
Note: As a courtesy, this special mode is only used to set the permissions
|
||||||
of /app/db and /app/config to be owned by the netalertx user so future
|
of /app/db and /app/config to be owned by the netalertx user so future
|
||||||
runs work correctly.
|
runs work correctly.
|
||||||
|
|
||||||
Bottom line: never run security tooling as root unless you are actively
|
Bottom line: never run security tooling as root unless you are actively
|
||||||
trying to get pwned.
|
trying to get pwned.
|
||||||
|
|||||||
Reference in New Issue
Block a user