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?