[Bug 38810] Re: On Ctrl-C, sudo should exit immediately

2006-10-09 Thread Martin Pitt
sudo (1.6.8p12-4ubuntu5) edgy; urgency=low . * auth/pam.c: - Abort immediately if the user presses ^C at the password prompt instead of waiting three seconds. There is no information to be gained from doing that, and it's just annoying if one accidentally uses sudo for

[Bug 38810] Re: On Ctrl-C, sudo should exit immediately

2006-10-06 Thread Martin Pitt
Simple patch, will consider for edgy. ** Changed in: sudo (Ubuntu) Assignee: (unassigned) = Martin Pitt Status: Confirmed = In Progress -- On Ctrl-C, sudo should exit immediately https://launchpad.net/bugs/38810 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com

[Bug 38810] Re: On Ctrl-C, sudo should exit immediately

2006-09-29 Thread Anders Kaseorg
My patch was accepted to sudo CVS. It would be nice if it could go into Edgy too. -- On Ctrl-C, sudo should exit immediately https://launchpad.net/bugs/38810 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 38810] Re: On Ctrl-C, sudo should exit immediately

2006-09-28 Thread Anders Kaseorg
tgetpass properly returns if the user actually typed the empty password and NULL if the user hit ^C, but sudo_conv in auth/pam.c does not distinguish between these return values. Here is a simple patch to correct this by returning PAM_CONV_ERR on NULL, causing a quick abort with an error.