[systemd-devel] [PATCH] ask-password: Add --do-echo to enable echoing the user input

Tom Gundersen teg at jklm.no
Tue Sep 30 07:26:06 PDT 2014


On Wed, Sep 17, 2014 at 2:26 PM, David Sommerseth <davids at redhat.com> wrote:
> I've been playing with the systemd feature enabled in OpenVPN.  And I
> propose this change to systemd-ask-password to avoid masking usernames.
>  I tried looking for alternative ways querying for usernames through
> systemd without finding a good solution.
>
> This patch has been tested locally on a slightly modified OpenVPN build
> which calls systemd-ask-password with --do-echo when it queries the user
> for usernames.
>
> If there are better ways how to solve this, please let me know and I'll
> go that path instead.

Similar comments to the other patch (not sure whether or not this api
extensions should be done or not), but for the patch itself I suggest
using --echo, rather than --do-echo, and I guess we need to update the
manpage.

Cheers,

Tom


More information about the systemd-devel mailing list