Skip to content

brew.sh: move sudo reset timestamp. #20037

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

Merged
merged 1 commit into from
Jun 3, 2025
Merged

Conversation

MikeMcQuaid
Copy link
Member

@MikeMcQuaid MikeMcQuaid commented Jun 2, 2025

Let's move this from bin/brew to make things like e.g. brew --prefix or brew shellenv not reset the sudo timestamp.

This is still in a place that ensures that e.g. no untrusted formula or tap code has been run yet so should have no security implications but provide mild usability improvements.

Fixes #20022

Let's move this from `bin/brew` to make things like e.g. `brew --prefix`
or `brew shellenv` not reset the sudo timestamp.

This is still in a place that ensures that e.g. no untrusted formula or
tap code has been run yet so should have no security implications but
provide mild usability improvements.
@MikeMcQuaid MikeMcQuaid enabled auto-merge June 2, 2025 14:46
@MikeMcQuaid MikeMcQuaid added this pull request to the merge queue Jun 3, 2025
Merged via the queue into master with commit a0c89e4 Jun 3, 2025
35 checks passed
@MikeMcQuaid MikeMcQuaid deleted the move_sudo_reset_timestamp branch June 3, 2025 01:37
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.

Document sudo --reset-timestamp behavior
2 participants