"edit as root" does not work OpenSuse 15.6, and some earlier versions. The reason is that the script implementing this function assumes that ssh-askpass is in /usr/bin. However, recent versions of OpenSuse store it in /usr/lib/ssh. A symlink in /usr/bin fixes the problem, but this should be correctly set up as part of the krusader installation process. SUMMARY edit as root does not work STEPS TO REPRODUCE see above SOFTWARE/OS VERSIONS Windows: macOS: (available in the Info Center app, or by running `kinfo` in a terminal window) Linux/KDE Plasma: KDE Plasma Version: 5.27.11 KDE Frameworks Version: 5.115.0 Qt Version: 5.15.12
In https://forums.opensuse.org/t/ksshaskpass-installation-doesnt-install-any-bin-file/147276/3 someone wrote in 2021 (is not recent information): The installed “ssh-askpass” is actually a script, which should call “ksshaskpass” if you are running KDE. Otherwise it calls “gnome-ssk-askpass”. In https://packages.debian.org/en/sid/ksshaskpass I could read: interactively prompt users for a passphrase for ssh-add A front-end for ssh-add which stores the password of the ssh-key in KWallet. In https://packages.debian.org/en/sid/ssh-askpass-gnome I could read: interactive X program to prompt users for a passphrase for ssh-add This has been split out of the main openssh-client package so that openssh-client does not need to depend on GTK+. so it looks like Krusader should not depend on "ksshaskpass" nor "ssh-askpass-gnome" nor a similar program. I've tried Opensuse Tumbleweed and there was no "/usr/lib/ssh/ssh-askpass" but a "/usr/libexec/ssh/ssh-askpass", I've tried Kubuntu 25.04 and those files weren't found, although there was a "/usr/bin/ssh-askpass". Using Kubuntu 25.04: if I go to Krusader, edit the "Edit as root" useraction and replace `SUDO_ASKPASS=/usr/bin/ssh-askpass` with `SUDO_ASKPASS="$SSH_ASKPASS"` and then I try to "Edit as root"... everything seems to work. Would you like to perform the same replacement, delete the symlink in `/usr/bin/` that you created, and tell us if "Edit as root" works for you then?
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone!
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.