[Bug 202127] Initial (first) login response is slow/delayed

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Aug 10 21:18:08 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202127

Jilles Tjoelker <jilles at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jilles at FreeBSD.org

--- Comment #2 from Jilles Tjoelker <jilles at FreeBSD.org> ---
In the general case this cannot be solved because the password prompt needs
different code and data and may therefore require things to be paged in
(slowly). When utilities like su and sudo are also considered, the user will
have to wait for Password: before typing their password.

In particular, whether the password prompt is displayed at all and how it looks
like depends on the passwd file (empty password = no prompt, logs in
immediately) and the PAM configuration (e.g. showing OTP sequence number).
What's more, the initial login: prompt on ttyv* uses getty(8) and the password
prompt (if any) comes from login(1), so even more code needs to be loaded for
the password prompt to show.

It may be possible to modify the protocol between getty(8) and login(1) to
start without echo tty mode, so that too early password characters are at least
very unlikely to show up. login(1) will have to skip some tty flushes and
enable echo mode later on.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list