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?
Asked
Active
Viewed 3,397 times
7
-
you could also add his public key to `~/.ssh/authorized_keys` for passwordless authentication... – MattBianco Oct 29 '14 at 13:36
1 Answers
12
Oh, it's
passwd username
Sorry for asking and answering my own question. :S

Dennis Williamson
- 62,149
- 16
- 116
- 151

caeasy
- 199
- 1
- 5
-
No problem with answering your own question - just go ahead and mark it as answered. – runlevelsix Aug 09 '10 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' – Matt Delves Aug 09 '10 at 22:45