unable to change passwd on old linux box

I have an old redhat 3u2 box which serves as a NIS server to a small network.  When I try to change a passwd I get the error:
RPC: Can't encode arguments
The password has not been changed on myserver.com
passwd: Failed preliminary check by password service

Any body know what would be wrong?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


Try using following command

If trying to change from normal user then use

$ yppasswd

If trying to rest password of user abc from root then use

# yppasswd -p abc

I hope this will work!
jdanAuthor Commented:
Found the problem to be with the /etc/login.defs file which was set to min time before change to be 7 days.  I set the min change time to 0 and now all is good.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jdanAuthor Commented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Distributions

From novice to tech pro — start learning today.