Do-Over a mangled sudo password?

Stephen Ryan stephen.p.ryan at Dartmouth.EDU
Fri Feb 3 11:59:00 EST 2006


On Fri, 2006-02-03 at 11:54 -0500, Ted Roche wrote:
> 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.

Ctrl-U?




More information about the gnhlug-discuss mailing list