Re: systemd-ask-password and kernel keyring

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx wrote:
On Mi, 14.11.18 11:38, Sietse van Zanen (sietse@xxxxxxxxx) 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@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux