Superuser commands like sudo fail on Ghostty but not TTY or other terminal emulators #9337
Replies: 1 comment 5 replies
-
|
I use sudo constantly, and I'm sure many others do. This sound like maybe a terminfo issue. Our |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Issue Description
When trying to run any command that requires superuser privileges, it fails to run on Ghostty. I made sure my user was added to the wheel usergroup, and confirmed in visudo that the user has superuser privileges. It works in TTY or other terminal emulators (Alacritty, Konsole), but not Ghostty. I am given the password prompt, but it fails to register my password, despite working normally on other terminal emulators and the TTY.
Expected Behavior
Typing in the sudo password ought to work, just like it works in other terminal emulators and the TTY.
Actual Behavior
Typing the sudo password counts as a failure, even if you type it correctly. This only happens on Ghostty
Reproduction Steps
sudo whoami).Ghostty Logs
Ghostty Version
OS Version Information
CachyOS x86_64 (Linux 6.17.4-4-cachyos)
(Linux only) Display Server
Wayland
(Linux only) Desktop Environment/Window Manager
Hyprland 0.51.1
Minimal Ghostty Configuration
Additional Relevant Configuration
No response
I acknowledge that:
```) on separate lines.Beta Was this translation helpful? Give feedback.
All reactions