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

nsncd.service: run as non-root #110

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

flokli
Copy link
Contributor

@flokli flokli commented Apr 23, 2024

This updates the nsncd.service systemd unit file to run nsncd as a nscd user and group, and enables sandboxing.

Fixes #14.

This updates the nsncd.service systemd unit file to run nsncd as a
`nscd` user and group, and enables sandboxing.

Fixes twosigma#14.
@flokli
Copy link
Contributor Author

flokli commented Apr 23, 2024

@leifwalsh I'm not sure if something on the debian side needs updating, like, ensuring the nscd user exists, via some hooks, as per https://www.debian.org/doc/manuals/securing-debian-manual/bpp-lower-privs.en.html. It seems like there's no nscd user in base-passwd.

Can you take a look at that?

Edit: In that case, it probably makes sense for user and group to be called nsncd, not nscd.

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

Successfully merging this pull request may close these issues.

Run as non-root
1 participant