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

run binary as user nobody #2

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

run binary as user nobody #2

wants to merge 1 commit into from

Conversation

coip
Copy link

@coip coip commented Feb 8, 2022

as an option to further apply PoLP

caveat emptor of course... unsure if

  • stampede currently depends on root permissions, given the operations to perform
  • & the host env this executes on may likely already be in a fairly locked-down state

cheers!

@coip
Copy link
Author

coip commented Feb 8, 2022

@coip coip marked this pull request as draft February 8, 2022 22:11
@coip
Copy link
Author

coip commented Feb 8, 2022

this most-likely wont be a clean merge actually.

quick pass, a few of the potential snags in pkg/node.go:

if _, err := os.Stat(stateFile); err == nil {

cmd = exec.Command("kubeadm", "init", "--apiserver-advertise-address", viper.GetString("advertise-address"))

cmd = exec.Command("kubeadm", "init")

func addNodeMicroK8s(response MessageResponse) {

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.

None yet

1 participant