Replies: 2 comments 1 reply
-
This doesn't sound to be caused by Are you running this in a Docker? If so, did you start the container with any security options, like
|
Beta Was this translation helpful? Give feedback.
-
What's the output of the following with
|
Beta Was this translation helpful? Give feedback.
-
Additional Info
Output of
brew config
Output of
brew doctor
Description of issue
I've noticed that after adding
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
to my.bashrc
or my.zshrc
, thatsudo
stops working entirely, telling me that "The "no new privileges" flag is set, which prevents sudo from running as root.
"I haven't been able to 100% pin down what causes this, but the line has been in my
.zshrc
for months now and never caused trouble before.Has the line that needs to be added changed? or is this some weird side-effect of a recent change? Any help would be appreciated greatly! 😄
Beta Was this translation helpful? Give feedback.
All reactions