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

Support for minimising required privileges when activating target machine #279

Open
hauleth opened this issue Jun 20, 2024 · 0 comments
Open

Comments

@hauleth
Copy link

hauleth commented Jun 20, 2024

Currently activation script will be ran using its full path, which mean, that there is no feasible way to limit what script can be ran by sudo using sudoers file. It would be interesting to somehow support activating machine without such requirement, as passwordless sudo for some user may be non-safe.

Possible solutions I see are:

  • symlinking activation script to some fixed and known location, however that opens possibility for attacker to symlink anything to that location and then ran it however they want
  • running additional daemon that will accept the path and will run activation script after validating user permissions, however that causes chicken-egg problem

My goal there would be to allow user to run activation script with higher privileges, but only activation script.

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

No branches or pull requests

1 participant