Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Aug 2015 21:18:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 202127] Initial (first) login response is slow/delayed
Message-ID:  <bug-202127-8-hLNJdew6n6@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-202127-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-202127-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202127

Jilles Tjoelker <jilles@FreeBSD.org> changed:

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

--- Comment #2 from Jilles Tjoelker <jilles@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202127-8-hLNJdew6n6>