-
-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drop privileges if started as root #7
Comments
Hi Lukas, I wrote this small snippet to drop the privileges -
But unfortunately, the implementation of Refs - |
Well, tell me, why do we have to run Glutton as root? |
@glaslos I don't know if I'm right or not but what I thought was we don't have to run glutton server as root. I'm sorry if I'm wrong about it. |
Try to figure out why we need to run as root... |
I need root privileges to bind to port numbers under 1024. |
Where do we need root privileges? |
When we are initializing the ssh proxy, specifically, when we are trying to bind the docker proxy to the ssh port. And that means I cannot drop the privileges in the beginning. I'll have to drop it after binding the port. Also that |
Forget about docker. Think about how we get the packages in the first place. |
@HashCode55 are you still looking into this? |
Have you figured how to run w/o root privileges? Even when manually adding capabilities to |
If Glutton is started as root, we should drop privileges to the
nobody
user.The text was updated successfully, but these errors were encountered: