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

Secure install mode #16025

Closed
1 task done
kaznovac opened this issue Sep 23, 2023 · 3 comments
Closed
1 task done

Secure install mode #16025

kaznovac opened this issue Sep 23, 2023 · 3 comments
Labels
features New features outdated PR was locked due to age

Comments

@kaznovac
Copy link

Verification

Provide a detailed description of the proposed feature

As a system administrator I'd like to have an option in brew so that install an update actions would require elevated privileges (sudo) and that installed software file owners and access permissions stay as hardened as possible.

Thanks for consideration <3

What is the motivation for the feature?

Security

How will the feature be relevant to at least 90% of Homebrew users?

Security

What alternatives to the feature have been considered?

  • AppStore (Apple does this best)
  • pkgsrc from Joynent (quite good, but slow to get the new software)
  • Nix (steep learning curve and complicated software management - but offers unique 'reproducible software' guarantees)
  • MacPorts
  • Hardening some of the permissions by hand
@kaznovac kaznovac added the features New features label Sep 23, 2023
@Bo98
Copy link
Member

Bo98 commented Sep 23, 2023

Installing Homebrew as another user sounds roughly what you want? Other than that, multiple user accounts is not something we officially support at the moment, but it may work good enough for you already.

@MikeMcQuaid
Copy link
Member

Passing on this, sorry.

@MikeMcQuaid MikeMcQuaid closed this as not planned Won't fix, can't repro, duplicate, stale Sep 25, 2023
@kaznovac
Copy link
Author

@Bo98 That's near good enough idea (forces you to sudo to that brew account), a bit more secure but leaves installed apps vulnerable to all of that user processes.

Thanks

@github-actions github-actions bot added the outdated PR was locked due to age label Oct 27, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
features New features outdated PR was locked due to age
Projects
None yet
Development

No branches or pull requests

3 participants