[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [PATCH v2] sulogin: allow system maintenance login if root password is empty
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2013-05-21 15:13:59
Message-ID: CAK1hOcPr4Rxo+K-M8y6LwNt0KeAUQpqUWHMPiwhFcCtATVNY-g () mail ! gmail ! com
[Download RAW message or body]

On Tue, May 21, 2013 at 3:25 AM, Jonathan Liu <net147@gmail.com> wrote:
> The current password checking is unable to distinguish between the user
> entering an empty password or pressing Control-D. As a result, an empty
> password always results in normal startup.
>
> We modify bb_ask to return NULL if Control-D is pressed without entering
> a password. The sulogin applet is then modified to only proceed to
> normal startup if bb_ask returns NULL. This covers EOF with no password,
> interrupt by timeout and ^C.

Applied, thanks.
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic