Bug#998694: [Pkg-shadow-devel] Bug#998694: Don't timeout if you haven't asked for password yet

2021-11-14 Thread Bálint Réczey
Control: tags -1 wontfix

Hi Dan,

積丹尼 Dan Jacobson  ezt írta (időpont: 2021. nov.
6., Szo, 19:00):
>
> Package: login
> Version: 1:4.8.1-1.1
>
> (/usr/share/doc/login/copyright says
> This is Debian GNU/Linux's prepackaged version of the shadow utilities.
>
> It was downloaded from: .
> As of May 2007, this site is no longer available.)

The Homepage: https://github.com/shadow-maint/shadow info is up to
date, but the copyright file should be updated, I agree.

> OK, I'll report the bug here:
>
> Let's say the system is so overloaded that...
>
> Login: root
>
> Login timed out after 60 seconds
>
> Yes, that's right, even before the password prompt appeared!
>
> So that timeout will prevent access to the whole system!
>
> So: at least don't timeout if you haven't asked for password yet!

The timer is set right before calling pam_start() in login.c, thus it
would not be easy to delay that. If you have a system unable to show
password prompt for 1 minute it is unlikely that you can get in even
with a timeout started later.

Cheers,
Balint

> Thanks.
>
> ___
> Pkg-shadow-devel mailing list
> pkg-shadow-de...@alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-shadow-devel



Bug#998694: Don't timeout if you haven't asked for password yet

2021-11-06 Thread 積丹尼 Dan Jacobson
Package: login
Version: 1:4.8.1-1.1

(/usr/share/doc/login/copyright says
This is Debian GNU/Linux's prepackaged version of the shadow utilities.

It was downloaded from: .
As of May 2007, this site is no longer available.)

OK, I'll report the bug here:

Let's say the system is so overloaded that...

Login: root

Login timed out after 60 seconds

Yes, that's right, even before the password prompt appeared!

So that timeout will prevent access to the whole system!

So: at least don't timeout if you haven't asked for password yet!

Thanks.