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

Fix running sudo in zsh considers /dev/pts/* as stdin #6

Open
Alex4386 opened this issue Sep 18, 2023 · 1 comment
Open

Fix running sudo in zsh considers /dev/pts/* as stdin #6

Alex4386 opened this issue Sep 18, 2023 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@Alex4386
Copy link
Owner

How to reproduce

  1. Change shell to /bin/zsh
  2. Run sudo inside terminal
  3. sudo complains that password can not be entered via stdin.
@Alex4386 Alex4386 added the help wanted Extra attention is needed label Sep 18, 2023
@Alex4386 Alex4386 changed the title Fix running sudo in zsh considers /dev/pts/* as stdin Fix running sudo in zsh considers /dev/pts/* as stdin Sep 18, 2023
@Alex4386
Copy link
Owner Author

Alex4386 commented Oct 8, 2023

If I use bash and create zsh as subprocess, This doesn't reproduce and detects pseudo-console file properly. something seems off.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant