twosigma / twosigma/nsncd

Run as non-root

Open
#14 13 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
78
Forks
22
Avg merge
2d 3h
Merged PRs (30d)
13

Description

It occurs to me there's no particular reason to keep running as root (at least on most systems, though for certain nss_ldap configurations, you've got a password that's readable only as root). We should support dropping privileges.

I think best practice is to run as your own system account instead of `nobody` because that quickly turns `nobody` into a fairly juicy target of its own, so probably this wants to be an argument to drop privileges to a specific user + some packaging config to create a system user.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.