Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#30779 - [initscripts] restore previous password enter prompt

Attached to Project: Arch Linux
Opened by c (c) - Saturday, 21 July 2012, 08:10 GMT
Last edited by Tom Gundersen (tomegun) - Sunday, 22 July 2012, 16:08 GMT
Task Type Feature Request
Category Packages: Testing
Status Closed
Assigned To Tom Gundersen (tomegun)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
Is there a future proof way to restore the previous password
prompt for crypttab entries with password set to none?
The new vanilla version displays the disk name, dm name,
and also shows asterisks for the characters typed in.

Also it prints an info message with the crypt info of the
luks device opened.


Additional info:
* 1.5.0-1

Steps to reproduce:
reboot until luksOpen prompt for crypttab entry
This task depends upon

Closed by  Tom Gundersen (tomegun)
Sunday, 22 July 2012, 16:08 GMT
Reason for closing:  Not a bug
Comment by Tom Gundersen (tomegun) - Sunday, 22 July 2012, 01:02 GMT
Sorry, I'm not following. Could you explain what behavior you want to restore? You don't want the asterisks shown?
Comment by c (c) - Sunday, 22 July 2012, 09:19 GMT
Yes, the asterisks should not be shown.
Whether the device id or the crypto info are shown are less important and I leave it to you guys to make a decision about that.
Comment by Dave Reisner (falconindy) - Sunday, 22 July 2012, 13:02 GMT Comment by Tom Gundersen (tomegun) - Sunday, 22 July 2012, 13:13 GMT
You can switch off the asterisks by pressing TAB, or BACKSPACE as the first character. The behavior is documented here: <http://0pointer.de/public/systemd-man/systemd-ask-password.html>.
Comment by c (c) - Sunday, 22 July 2012, 14:03 GMT
Interesting discussion. Valid points on both sides but in non-graphical mode like pty login prompts it's been common to not display asterisks. Is there a switch or systemd-tools option to restore the previous behavior? I don't use desktop environments or gdm/xdm and don't know their behavior to make a comparison.
Comment by Tom Gundersen (tomegun) - Sunday, 22 July 2012, 15:04 GMT
@c: did you read my comment? you just press TAB.
Comment by c (c) - Sunday, 22 July 2012, 15:12 GMT
Yes I did read that. Thanks for finding that out. Is there really no flag to switch somewhere to restore the old behavior? If there isn't, I suppose I'll have to remember to press Tab. It's not the fault of you guys but what has that to do with user friendliness? If someone wants to correct a mistake in the pass prompt they can just press C-u and re-enter again. Easy as that.

Any idea about the luks device crypto info printed with the newer initscripts? Is that configurable?
Comment by Tom Gundersen (tomegun) - Sunday, 22 July 2012, 15:19 GMT
Some people want asterisks (typically users who are used to the graphical login where feedback on passwords have been the standard for years), others do not. Typically the ones who prefer no asterisks are the "expert" users, so it sort of makes sense to require the experts to learn one extra key press.

Why would we hide the crypto info? If there is a reason for it, I'm sure it could be done, but it seems useful to me...

Loading...