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

feature request: security.wrappers #618

Open
ezracelli opened this issue Mar 17, 2023 · 1 comment
Open

feature request: security.wrappers #618

ezracelli opened this issue Mar 17, 2023 · 1 comment

Comments

@ezracelli
Copy link

NixOS has security.wrappers, a mechanism to enable certain security features (SUID/GUID, capabilities, ownership/permissions) without directly modifying the Nix store.

It’d be great to have this functionality in nix-darwin, too — I’d like to set the SUID bit on htop (it’s the only way to see info from all users’ processes without sudo).

NixOS module implementation: https://github.com/NixOS/nixpkgs/blob/nixos-unstable/nixos/modules/security/wrappers/default.nix

@LnL7
Copy link
Owner

LnL7 commented May 22, 2023

Once upon a time I spent a little time on this, next to setuid on darwin there's also a usecase for codesinging certain binaries. Perhaps a008b2e could still be useful as a reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants