Can't change NIs passwd at client end
Hi! Please help!
Currently I am setting up a Lan using Linux 9 with one NIS Master , one NIS slaves and a number of NIS clients. Recently, I have encountered one problem at client - unable to change the NIS password. The following error messages were collected : [wanch@c103]$ passwd Changing password for user wanch. Changing password for wanch (current) UNIX password: New password: Retype new password: Error while changing NIS password. The password has not been changed on s2. passwd: Failed preliminary check by password service [wanch@c103]$ yppasswd Changing NIS account information for wanch on s2. Please enter old password: Changing NIS password for wanch on s2. Please enter new password: Please retype new password: Error while changing the NIS password. The NIS password has not been changed on s2. S2 is my NIS master. The service yppasswd is running fine at server end and I can change password at server. I have tried to restart the yp* services at both server and client ends but still unable to find out the fault. Thanks. |
is yppasswd running on both the NIS Master & Slave?
|
Thanks for the reply.
Yes, I have yppasswdd at both NIS master and slave These are services found in my NIS master s2 and NIS slave s1 using command 'rpcinfo ..." [root@s1 root]# rpcinfo -p s2 program vers proto port 100000 2 tcp 111 portmapper 100000 2 udp 111 portmapper 100024 1 udp 32768 status 100024 1 tcp 32768 status 100021 1 udp 32769 nlockmgr 100021 3 udp 32769 nlockmgr 100021 4 udp 32769 nlockmgr 391002 2 tcp 32769 sgi_fam 100011 1 udp 680 rquotad 100011 2 udp 680 rquotad 100011 1 tcp 683 rquotad 100011 2 tcp 683 rquotad 100003 2 udp 2049 nfs 100003 3 udp 2049 nfs 100005 1 udp 32771 mountd 100005 1 tcp 32770 mountd 100005 2 udp 32771 mountd 100005 2 tcp 32770 mountd 100005 3 udp 32771 mountd 100005 3 tcp 32770 mountd 100004 2 udp 834 ypserv 100004 1 udp 834 ypserv 100004 2 tcp 834 ypserv 100004 1 tcp 834 ypserv 100009 1 udp 707 yppasswdd 600100069 1 udp 835 fypxfrd 600100069 1 tcp 835 fypxfrd 100007 2 udp 803 ypbind 100007 1 udp 803 ypbind 100007 2 tcp 806 ypbind 100007 1 tcp 806 ypbind [root@s1 root]# rpcinfo -p s1 program vers proto port 100000 2 tcp 111 portmapper 100000 2 udp 111 portmapper 100024 1 udp 32768 status 100024 1 tcp 32768 status 100021 1 udp 32769 nlockmgr 100021 3 udp 32769 nlockmgr 100021 4 udp 32769 nlockmgr 100004 2 udp 834 ypserv 100004 1 udp 834 ypserv 100004 2 tcp 834 ypserv 100004 1 tcp 834 ypserv 600100069 1 udp 835 fypxfrd 600100069 1 tcp 835 fypxfrd 100007 2 udp 607 ypbind 100007 1 udp 607 ypbind 100007 2 tcp 610 ypbind 100007 1 tcp 610 ypbind 391002 2 tcp 32769 sgi_fam 100011 1 udp 680 rquotad 100011 2 udp 680 rquotad 100011 1 tcp 683 rquotad 100011 2 tcp 683 rquotad 100003 2 udp 2049 nfs 100003 3 udp 2049 nfs 100005 1 udp 32770 mountd 100005 1 tcp 32770 mountd 100005 2 udp 32770 mountd 100005 2 tcp 32770 mountd 100005 3 udp 32770 mountd 100005 3 tcp 32770 mountd 100009 1 udp 719 yppasswdd I am able to login at client end as non-root user but unable to change my nis password. The client seems to fail to send the PW to s2. |
I'm having a similar problem. I setup NIS on Redhat 5.1 and for all other user's it seems okay but when I try to change my own password on a NIS client it says the following...
NIS CLIENT.... [jglenton@server ~]$ passwd Changing password for user jglenton. Changing password for jglenton (current) UNIX password: New UNIX password: Retype new UNIX password: NIS password could not be changed. passwd: Failed preliminary check by password service [jglenton@server ~]$ This is the result on the NIS Master. NIS MASTER.... [root@server2 ~]# yppasswd jglenton Changing NIS account information for jglenton on server2.random.com. Please enter root password: Changing NIS password for jglenton on server2.random.com. Please enter new password: Please retype new password: Error while changing the NIS password. The NIS password has not been changed on server.random.com. [root@server2 ~]# Any help would be very appreciated...! Thanks James |
All times are GMT -5. The time now is 03:50 PM. |