#1061170 sudo: sends mail when aborting

Package:
sudo
Source:
sudo
Description:
Provide limited super user privileges to specific users
Submitter:
Thorsten Glaser
Date:
2026-02-10 18:28:04 UTC
Severity:
normal
Tags:
#1061170#5
Date:
2024-01-20 06:34:42 UTC
From:
To:
When typing “sudo somecommandwithatypo”, pressing Enter, and then
realising you’d done a typo and hitting ^C to abort, sudo sends an
eMail that “a password is required” nowadays.

This is a regression against older versions which did not send an
eMail in those cases.

#1061170#10
Date:
2024-01-20 08:24:34 UTC
From:
To:
Control: -1 wontfix upstream
thanks
issue. Flagging this as wontfix now.

It is a behavior change that looks like it was intended by upstream.
sudo is unlikely to change this behavior, especially if we obviously had
two stable releases with the behavior that you are complaining about
now.

Please discuss this with upstream. If they decide to change, Debian
might follow along. I'd really like to see their arguments.

Greetings
Marc

#1061170#17
Date:
2026-02-10 18:27:01 UTC
From:
To:
Did this discussion happen in the two years since the last activity
here? Did maybe the not-yet-uploaded change to not settting "Defaults
mail_badpass" soive your issue as well?

Greetings
Marc

#1061170#20
Date:
2026-02-10 18:27:01 UTC
From:
To:
Did this discussion happen in the two years since the last activity
here? Did maybe the not-yet-uploaded change to not settting "Defaults
mail_badpass" soive your issue as well?

Greetings
Marc