https://bugs.kde.org/show_bug.cgi?id=403432
michaelk83 <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #10 from michaelk83 <[email protected]> --- >From the linked URL, https://www.freedesktop.org/wiki/Software/systemd/PasswordAgents/ : > You may test this all with manually invoking the "systemd-ask-password" tool > on the command line. > Pass --no-tty to ensure the password is asked via the agent system. Note that > only privileged users > may use this tool. STEPS TO REPRODUCE 1. In a terminal, run `sudo systemd-ask-password` 2. Run `sudo systemd-ask-password --no-tty` OBSERVED RESULT The 1st command asks for a password inside the terminal. The 2nd command hangs until terminated, no prompt is shown. EXPECTED RESULT The 2nd command should bring up a GUI password prompt. SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE Neon User 20220825-0951 live DVD KDE Plasma Version: 5.25.4 Qt Version: 5.15.5 SystemD Version: 245.4 ADDITIONAL INFORMATION Possible workaround (untested): create `.path` systemd unit to watch the `/run/systemd/ask-password` directory, and launch `/usr/bin/pinentry` when that directory becomes non-empty. Side-effect: by default, pinentry will attempt to read the password from Secret Service before asking the user. https://www.freedesktop.org/software/systemd/man/systemd.path.html -- You are receiving this mail because: You are watching all bug changes.
