Skip to content

various: run usercode as unpriviliged user - #71

Merged
OldUser101 merged 5 commits into
masterfrom
shepherd-patch
Jul 12, 2026
Merged

various: run usercode as unpriviliged user#71
OldUser101 merged 5 commits into
masterfrom
shepherd-patch

Conversation

@OldUser101

@OldUser101 OldUser101 commented Jul 11, 2026

Copy link
Copy Markdown
Member

This needs actual testing, no brain on hand when writing.

Pending a change in Hopper to require a dedicated hopper group

supplementary groups should be allowed to fail

annoyingly, neither tokio nor std don't provide a
thing for this, so manual impl.
it's not the concern of shepherd whether this exists or not
shepherd already relies on hopper running so it can be assumed
@OldUser101 OldUser101 changed the title run: spawn patch process as priviliged "usercode" run: spawn patch process as priviliged "usercode", misc fixes Jul 11, 2026
@OldUser101 OldUser101 changed the title run: spawn patch process as priviliged "usercode", misc fixes various: run usercode as unpriviliged user Jul 11, 2026
@OldUser101
OldUser101 merged commit dffe318 into master Jul 12, 2026
2 checks passed
@OldUser101
OldUser101 deleted the shepherd-patch branch July 12, 2026 11:33
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.

1 participant