[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 370
  • Last Modified:

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?

Thanks
0
jdan
Asked:
jdan
  • 2
2 Solutions
 
ajay_mhasalCommented:
Hi,

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!
0
 
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.
0
 
jdanAuthor Commented:
Thanks
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now