Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

You must log in to answer this question.

Browse other questions tagged .