Page MenuHomeFreeBSD

security/acme-client: use a dedicated unprivileged user/group
ClosedPublic

Authored by tgyurci_gmail.com on Jan 9 2017, 3:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 29 2024, 2:54 AM
Unknown Object (File)
Jan 9 2024, 8:40 AM
Unknown Object (File)
Nov 19 2023, 2:25 AM
Unknown Object (File)
Nov 19 2023, 2:13 AM
Unknown Object (File)
Nov 19 2023, 1:59 AM
Unknown Object (File)
Oct 11 2023, 6:51 PM
Unknown Object (File)
Sep 25 2023, 11:11 AM
Unknown Object (File)
Sep 4 2023, 6:17 AM

Details

Reviewers
brnrd
mat

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 6663
Build 6881: arc lint + arc unit

Event Timeline

tgyurci_gmail.com retitled this revision from to security/acme-client: use a dedicated unprivileged user/group.
tgyurci_gmail.com updated this object.
tgyurci_gmail.com edited the test plan for this revision. (Show Details)

Sorry to leave this laying around for so long...

The whole premise of acme-client is that it runs as root but drops privileges for any operation that doesn't require root.
Check the documentation on https://kristaps.bsd.lv/acme-client/

Your change only changes the user that root drops privs to. I don't see any value in that, am I missing something?

The rationale is that it does not use the "shared" nobody. I have disabled outgoing network traffic on my server, and having a separate user for acme-client allows to whitelist that user and therefore that "service" only.

The rationale is that it does not use the "shared" nobody. I have disabled outgoing network traffic on my server, and having a separate user for acme-client allows to whitelist that user and therefore that "service" only.

Understood. Do you already have this running on your systems?
It will take me a while before I have certs that need to renew ๐Ÿ˜„

I do not run it in production, but I have tested it, and worked well.

Dang. Forgot to do the "complete link" to review in the commit...

This revision is now accepted and ready to land.Mar 10 2018, 6:28 PM