Skip to content

Stop brew command from terminating a sudo session #5806

Discussion options

You must be logged in to vote

If your complaint is that Homebrew resets sudo credentials so that commands after brew now prompt for a password, you can simply use script to isolate the credential reset. Since you're on macOS, I believe script /dev/null brew ... should do the trick.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@i0ntempest
Comment options

@gromgit
Comment options

Comment options

You must be logged in to vote
1 reply
@i0ntempest
Comment options

Answer selected by i0ntempest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants