On Do, 05.12.24 08:11, Ben Boeckel (me@xxxxxxxxxxxxxx) wrote: > Hi, > > At $DAYJOB, we started migrating to 2FA for VPN which has caused me to > look at how I can get the system service to provoke my user session to > ask me a prompt for the password. Of course, systemd has a solution for > it that: > > https://systemd.io/PASSWORD_AGENTS/ > > which I *can* use, but I need to do plumbing on my side because I use a > desktop environment cobbled together from pieces :) . I found > `systemd-ui` which provides a useful tool for those with "minimal" > desktop setups: > > https://cgit.freedesktop.org/systemd/systemd-ui > > which is…dormant to say the least. Is there any appetite to resurrecting > this on Github? I have patches to make it work with modern Vala/GTK3 > here: > > https://github.com/mathstuf/systemd-ui/tree/modernize > > and metadata needed for actual deployment here (polkit rules and user > units though install rules are lacking; the agent is also missing a > manpage): > > https://github.com/mathstuf/systemd-ui/tree/modernize-metadata-wip > > FWIW, I think renaming the agent to `systemd-gtk-ask-password-agent` > might be useful as there's nothing actually GNOME-specific about it. So I don't think I am the right person to maintain/review that stuff anyore (haven't done UI stuff in a decade). But if you already prepped those patches, and think you can invest a bit of time every now and then to maintain the tool in the future I'd be happy to pass over maintainership to you, if you are interested? Lennart -- Lennart Poettering, Berlin