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?