[systemd-devel] systemd-ask-password and kernel keyring

Ryan Gonzalez rymg19 at gmail.com
Thu Nov 15 04:42:52 UTC 2018


What would a patch look like? A --user that instead saves it to the user's
active secret service?

--
Ryan (ライアン)
Yoko Shimomura, ryo (supercell/EGOIST), Hiroyuki Sawano >> everyone else
https://refi64.com/

On Wed, Nov 14, 2018, 9:44 AM Lennart Poettering <lennart at poettering.net
wrote:

> On Mi, 14.11.18 11:38, Sietse van Zanen (sietse at wizdom.nu) wrote:
>
> > According to man:
> >
> >        --keyname=
> >            Configure a kernel keyring key name to use as cache for the
> password. If set, then the tool will try to push any collected passwords
> into the
> >            kernel keyring of the root user
> >
> >
> > Why only for user root and not the user running
> > systemd-ask-password?
>
> The whole "systemd-ask-password" concept was created with HDD
> passwords in mind, i.e. system stuff. We could of course extend the
> logic to also support unprivileged user stuff, and this has been
> requested before, but so far nobody sent a patch updating things for
> this purpose.
>
> Lennart
>
> --
> Lennart Poettering, Red Hat
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/systemd-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20181114/4b36f628/attachment.html>


More information about the systemd-devel mailing list