Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to change password to login on remote server. For example from pas1 to pas2.

I use passwd command. The result is successful: I see "The NIS password has been changed" and if I try passwd command one more time the pas2 is accepted as old password for passwd command. But, when I try to relogin I has to use pas1.

How to change the login password?

share|improve this question
2  
What is the exact command your using? the command takes some arguments mainly the username the password belongs to. –  Ramhound Dec 7 '12 at 14:02
1  
Could be a straight UNIX server too, they tend to behave a bit differently with the passwd command. Do you know what the server is running (beyond just linux)? –  nerdwaller Dec 7 '12 at 14:11
    
Ramhound, "passwd" –  klm123 Dec 7 '12 at 15:07
    
Type alias passwd to see whether you’re maybe running something other than passwd. Then type ls –l /bin/passwd to see whether it’s a symbolic link to something. –  Scott Dec 11 '12 at 2:17

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.