Skip to content

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