Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

Oh, it's

passwd username

Sorry for asking and answering my own question. :S

share|improve this answer
    
No problem with answering your own question - just go ahead and mark it as answered. –  runlevelsix Aug 9 '10 at 22:07
    
It doesnt let me do that, for two days. –  caeasy Aug 9 '10 at 22:08
    
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 9 '10 at 22:45

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.