You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- if (initgroups(pwd->pw_name, pwd->pw_gid) != 0) {- Fatal("switching to user %s, failed to initialize supplementary groups ID %ld", pwd->pw_name, (long)pwd->pw_gid);+ if (geteuid() == 0) {+ if (initgroups(pwd->pw_name, pwd->pw_gid) != 0) {+ Fatal("switching to user %s, failed to initialize supplementary groups ID %ld", pwd->pw_name, (long)pwd->pw_gid);+ }
could be a potential solution for this, @maskit what do you think?
Activity
jvgutierrez commentedon Nov 15, 2024
could be a potential solution for this, @maskit what do you think?
maskit commentedon Nov 15, 2024
Oh, traffic_manager... Yeah, it's an oversight and there was no intention to make ATS unable to start as root. Would you make a PR?
Invoke initgroups() iff we got enough privileges (apache#11869)
Invoke initgroups() iff we got enough privileges (apache#11869)
Invoke initgroups() iff we got enough privileges (apache#11869)
Invoke initgroups() iff we got enough privileges (#11869) (#11872)
Invoke initgroups() iff we got enough privileges (#11869) (#11872)
Invoke initgroups() iff we got enough privileges (#11869) (#11872)