Skip to content
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

pure setuid-wrappers in nix store #11435

Closed
lucabrunox opened this issue Dec 3, 2015 · 4 comments
Closed

pure setuid-wrappers in nix store #11435

lucabrunox opened this issue Dec 3, 2015 · 4 comments

Comments

@lucabrunox
Copy link
Contributor

Proposal:
Create a wrapper for needed setuid programs which:

  1. Copies the binary to tmp
  2. Makes it setuid
  3. Runs it and deletes it

Slow but no more impure setuid-wrappers. Any security concerns about this?

@abbradar
Copy link
Member

abbradar commented Dec 4, 2015

Hm, I see a chicken-and-egg issue -- if a user (not root) runs that wrapper it needs to be setuid itself to make the copied binary setuid.

@vcunat
Copy link
Member

vcunat commented Dec 4, 2015

Well, running the wrapper as a non-root makes this impossible. (Assuming the host system is sane; think of what you could do.)

@Profpatsch
Copy link
Member

(triage) what’s the way to go forward?

@grahamc
Copy link
Member

grahamc commented Feb 6, 2017

Closing due to inactivity, and the additional pcap wrappers.

@grahamc grahamc closed this as completed Feb 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants