Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #190026

Re: LUKS password gets printed as stars

From root kea <rootkea@gmail.com>
Newsgroups linux.debian.user
Subject Re: LUKS password gets printed as stars
Date 2017-12-19 19:00 +0100
Message-ID <uYulj-1vd-13@gated-at.bofh.it> (permalink)
References <uY9qx-4wW-5@gated-at.bofh.it> <uYacW-57a-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Dec 19, 2017 at 1:58 AM,  <tomas@tuxteam.de> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Tue, Dec 19, 2017 at 12:42:57AM +0530, root kea wrote:

>> Now I just need to find out from where this `systemd-ask-password` is
>> executed and then edit it's command by omitting the `--echo` flag
>> thereby turning off the echo by default. (A sane default!)
>>
>> Though I'm searching for the `systemd-ask-password` command location;
>> any further help would be really appreciated!

> in the whereabouts of /lib/systemd/system/systemd-ask-password-console.service.

Thanks for the apt-file tip. I was hoping to find systemd-ask-password
command execution in this file so that I could omit `--echo` switch
(I'm thinking it's there as user input is echoed by default).

But instead systemd-tty-ask-password-agent [0] gets executed from that
file which doesn't accept `--echo` as a flag. Here is the full
contents of systemd-ask-password-console.service file [1]

> Note that the usual way of customizing that is not by changing the
> service file in /lib/systemd/... but to put a new service file somewhere
> in /etc (/etc/systemd?) overriding it.

I can read up more on that and can create a new file but now not so
sure what to put there.

[0] https://www.freedesktop.org/software/systemd/man/systemd-tty-ask-password-agent.html
[1] https://pastebin.com/bSUPTqGt
-- 
Avinash Sonawane (rootKea)
PICT, Pune
https://rootkea.wordpress.com

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: LUKS password gets printed as stars root kea <rootkea@gmail.com> - 2017-12-18 20:40 +0100
  Re: LUKS password gets printed as stars tomas@tuxteam.de - 2017-12-18 21:30 +0100
    Re: LUKS password gets printed as stars deloptes <deloptes@gmail.com> - 2017-12-18 22:30 +0100
    Re: LUKS password gets printed as stars root kea <rootkea@gmail.com> - 2017-12-19 19:00 +0100
      Re: LUKS password gets printed as stars tomas@tuxteam.de - 2017-12-19 19:30 +0100
        Re: LUKS password gets printed as stars root kea <rootkea@gmail.com> - 2017-12-19 20:10 +0100
          Re: LUKS password gets printed as stars tomas@tuxteam.de - 2017-12-19 21:10 +0100
          Re: LUKS password gets printed as stars Jonathan Dowland <jmtd@debian.org> - 2017-12-19 22:50 +0100
            Re: LUKS password gets printed as stars root kea <rootkea@gmail.com> - 2017-12-20 12:10 +0100
              Re: LUKS password gets printed as stars Curt <curty@free.fr> - 2017-12-20 14:10 +0100
                Re: LUKS password gets printed as stars Richard Hector <richard@walnut.gen.nz> - 2017-12-20 23:40 +0100
                Re: LUKS password gets printed as stars Curt <curty@free.fr> - 2017-12-21 10:20 +0100
                Re: LUKS password gets printed as stars Richard Hector <richard@walnut.gen.nz> - 2017-12-22 22:30 +0100
                Re: LUKS password gets printed as stars Brian <ad44@cityscape.co.uk> - 2017-12-23 00:00 +0100
                Re: LUKS password gets printed as stars Anders Andersson <pipatron@gmail.com> - 2017-12-23 14:00 +0100
                Re: LUKS password gets printed as stars Hans <hans.ullrich@loop.de> - 2017-12-23 14:40 +0100
                Re: LUKS password gets printed as stars Curt <curty@free.fr> - 2017-12-23 16:20 +0100
                strawman [was: LUKS password gets printed as stars] <tomas@tuxteam.de> - 2017-12-23 19:10 +0100
                Re: strawman [was: LUKS password gets printed as stars] Brian <ad44@cityscape.co.uk> - 2017-12-23 20:50 +0100
                Re: LUKS password gets printed as stars <tomas@tuxteam.de> - 2017-12-21 11:50 +0100
                Re: LUKS password gets printed as stars Curt <curty@free.fr> - 2017-12-21 12:10 +0100
          Re: LUKS password gets printed as stars Don Armstrong <don@debian.org> - 2017-12-19 23:10 +0100
            Re: LUKS password gets printed as stars <tomas@tuxteam.de> - 2017-12-20 08:50 +0100
              Re: LUKS password gets printed as stars Curt <curty@free.fr> - 2017-12-20 12:00 +0100
                Re: LUKS password gets printed as stars <tomas@tuxteam.de> - 2017-12-20 12:40 +0100

csiph-web