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

SudoWrite errors with "a password is required" #81

Open
RobinClowers opened this issue Jul 16, 2024 · 2 comments
Open

SudoWrite errors with "a password is required" #81

RobinClowers opened this issue Jul 16, 2024 · 2 comments

Comments

@RobinClowers
Copy link

I assume I'm holding it wrong somehow, but I didn't do anything strange. I'm on a mac with bash 5.2.15 and neovim v0.10.0.

Error detected while processing BufWriteCmd Autocommands for "/private/etc/hosts":
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper | sudo: a password is required
@lambdalisue
Copy link
Owner

Well, as I labelled, I could not reproduce the issue unfortunately.

@RobinClowers
Copy link
Author

Dang, I guess it could be some configuration in my bashrc? There isn't a whole lot to it, you can see it here. I was also running vim in tmux, but I just tried without tmux and got the same error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants