Control - C on a password prompt on the terminal Occasionally, I request something with sudo, but change my mind after the password prompt has arisen. If the program was executing, I could press Control+C to exit, but this has no effect on the password prompt. If it was gksudo, then I could likewise press Cancel. 

So, is there anyway I could cancel sudo's password prompt besides pressing Enter multiple times, waiting for the wrong password dialogue?
I was unable to find acceptable explanation for that. It does not occur with every command. For instance, if you try sudo ls you can usually terminate it using ctrl+c.

You can still press enter immediately followed by ctrl+c, that usually works.