LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   rpc.yppasswdd configuration (https://www.linuxquestions.org/questions/linux-networking-3/rpc-yppasswdd-configuration-26334/)

rafe 07-22-2002 05:06 PM

rpc.yppasswdd configuration
 
I think I've muffed the nis configuration for yppasswdd but after much floundering on google I haven't been able to figure out what I hope is a real easy fix.

Every time I try to change the password via yppasswd I get the less than helpful following sequence.
> yppasswd
Changing NIS account information for myusername on my nisserver.
Please enter old password:
Changing NIS password for myusername on nisserver.
Please enter new password:
Please retype new password:
Error while changing the NIS password.
The NIS password has not been changed on nisserver.

The daemon is started with:
/usr/sbin/rpc.yppasswdd -D /var/yp/ypfiles
The -D option matches /var/yp/Makefile
YPPWDDIR = /var/yp/ypfiles
After getting these two in sync I restarted the ypserv & yppasswd. & I was able to change my password once & only once then back to the above error sequence.

I'm using
# yppasswd --version
yppasswd (yp-tools) 2.7
Copyright (C) 1998 Thorsten Kukuk.
Source installed onto SuSE 7.2.

:cry::newbie::cry:

sarin 07-22-2002 06:25 PM

Why don't you see the status of the process just after restarting and changing the passwd. May be it is getting killed for some reasons?
--Sarin

rafe 07-22-2002 06:38 PM

i didn't think of that, however a ps -aux before & after trying a change gives me the same...
root 3878 0.0 0.3 1652 920 ? S 17:27 0:00 /usr/sbin/rpc.yppasswdd -D /var/yp/ypfiles

rafe 08-14-2002 09:50 AM

OK, Now this is odd. After a few days of no reboot or init -m the daemon allows changes via the yppasswd command just dandy. Is there some sort of timer that I need to adjust or something? Very :confused: right now.


All times are GMT -5. The time now is 06:52 PM.