Hey, so I created a user, and he has been sshing in and doing a lot of stuff, but he forgot his password - is there any way for me to change his password without knowing it?
1 Answer
Oh, it's
passwd username
Sorry for asking and answering my own question. :S
-
No problem with answering your own question - just go ahead and mark it as answered. Aug 9, 2010 at 22:07
-
-
Are you trying it from root or from your normal user? If you are doing it from your normal user it should be 'sudo passwd username' rather than 'passwd username' Aug 9, 2010 at 22:45
~/.ssh/authorized_keys
for passwordless authentication...