Reset user passwd when you don't know it
Posted
by warren
on Super User
See other posts from Super User
or by warren
Published on 2010-05-28T13:28:57Z
Indexed on
2010/05/28
13:33 UTC
Read the original article
Hit count: 340
I have a small problem. I have shared keys setup on my domain, so I never type my password to login anymore.
I've forgotten my password now. This is a problem because only my user can sudo
. Password authentication for root
has been disabled, so without my password, I cannot do maintenance on my web server.
Is there a way to reset my password as my [now only] key-authenticated user?
Specifically, can this be done on CentOS 4?
© Super User or respective owner