-
-
Notifications
You must be signed in to change notification settings - Fork 10k
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
brew breaks sudo password cache #17905
Comments
This is likely a WONTFIX, sorry. We clear the |
This comment was marked as spam.
This comment was marked as spam.
Seems to be hardcoded: Lines 70 to 74 in eac5720
Would you allow a flag which skips resetting the sudo password cache? Else, I don't see a way to use brew with automation (e.g. Ansible) when it's combined with other package managers (like apt). |
No, seems inappropriate to disable a security feature flagged in our audit this way.
Use |
brew doctor
outputVerification
brew doctor
output" above saysYour system is ready to brew.
and am still able to reproduce my issue.brew update
twice and am still able to reproduce my issue.brew install wget
. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.brew config
outputWhat were you trying to do (and why)?
I want to type a sudo password only once during a timeout period.
What happened (include all command output)?
After any brew command, any sudo command aftwards requires the password, even when I entered it just before.
What did you expect to happen?
That the sudo password cache does not expire when using brew commands
The following might ask for the sudo password first
But since a brew update today it also always asks it after the brew command even though it should be still in the sudo cache
Step-by-step reproduction instructions (by running
brew
commands)and see if it asks for the sudo password after the brew command
The text was updated successfully, but these errors were encountered: