Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
When the agent attempts to run sudo commands, it fails with the following error message:
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
Steps to Reproduce
Ask the agent to run any command requiring sudo or any command requiring user input, click allow if needed.
Expected Behavior
The expected behavior is for the terminal to pause and await user input, I would manually enter my password for sudo, “y” for confirmation prompts, or any other required information. This was last working in 1.5
Screenshots / Screen Recordings
Operating System
Linux
Current Cursor Version (Menu → About Cursor → Copy)
Version: 1.7.39
VSCode Version: 1.99.3
Commit: a9c77ceae65b77ff772d6adfe05f24d8ebcb2790
Date: 2025-10-08T00:33:20.352Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Linux x64 5.15.0-157-generic
Additional Information
I expect that this is closely related to this issue:
An ideal fix would be to add a toggle to revert the terminal to pre-1.6 behavior.
Does this stop you from using Cursor
No - Cursor works, but with this issue

