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

privilege elevation #1115

Open
rsteube opened this issue Feb 23, 2025 · 0 comments
Open

privilege elevation #1115

rsteube opened this issue Feb 23, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@rsteube
Copy link
Member

rsteube commented Feb 23, 2025

Request

Some completions need elevated privileges (sudo, run0).
There's a whole load of issues with this:

  • security (!)
  • files/folders created with different owner as side-effect
  • authentication
  • remote invocation

Proposed solution

Maybe add something like Action.Elevate(user) to add an indicator to Context (ENV for compability?).
Then have a detached mechanism for privelege elevation (be it sudo, run0, or whatever).
Might work for commands will break any core os related functions.

Anything else?

related carapace-sh/carapace-bin#2708

@rsteube rsteube added enhancement New feature or request fund Fundable with polar.sh labels Feb 23, 2025
@polar-sh polar-sh bot removed the fund Fundable with polar.sh label Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant