Do-Over a mangled sudo password?

Ted Roche tedroche at tedroche.com
Fri Feb 3 11:56:00 EST 2006


Simple question, I expect, but haven't been able to locate the answer.

I'm working in an environment where I have to sudo a number of  
commands when logged into a remote machine via ssh.

The password is a doozy, with upper-, lower- punctuation, numbers   
and a spin of the secret decoder ring.

Inevitably, I get halfway through the password entry and miss a  
character, slip off the shift key, forget where I was or something.

Is there a way to clear the characters I've entered and start again,  
without hitting enter, waiting for the timeout, hoping I haven't  
exceed the limit and trying again?

I suspect this is one of those "Everyone knows it's Ctrl-K" but I  
must have dozed off in class.

Ted Roche
Ted Roche & Associates, LLC
http://www.tedroche.com





More information about the gnhlug-discuss mailing list