LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-14-2004, 10:10 PM   #1
wanch
LQ Newbie
 
Registered: Jul 2004
Location: Singapore
Posts: 2

Rep: Reputation: 0
Unhappy 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.
 
Old 07-15-2004, 11:56 AM   #2
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,090

Rep: Reputation: 41
is yppasswd running on both the NIS Master & Slave?
 
Old 07-15-2004, 08:35 PM   #3
wanch
LQ Newbie
 
Registered: Jul 2004
Location: Singapore
Posts: 2

Original Poster
Rep: Reputation: 0
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.
 
Old 04-30-2010, 05:57 AM   #4
jglenton
LQ Newbie
 
Registered: Apr 2010
Posts: 5

Rep: Reputation: 1
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
NIS Change passwd problems.. HELP bubsgt95 Linux - Server 6 09-11-2009 09:21 AM
How to setup a solaris NIS client while with a Linux NIS server? ntcm Linux - Security 2 03-31-2004 01:43 PM
How to setup a solaris NIS client while with a Linux NIS server? ntcm Linux - Networking 1 03-31-2004 08:51 AM
How to setup a Solaris NIS client while with a Linux NIS server? ntcm Solaris / OpenSolaris 1 03-31-2004 07:10 AM
How to setup a Solaris NIS client while with a Linux NIS server? ntcm Linux - General 1 03-31-2004 07:10 AM


All times are GMT -5. The time now is 09:53 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration