[GLLUG] yppasswd:yppasswdd not running on NIS master host
Justino Madariaga
jmadaria@bournemouth.ac.uk
Thu, 19 Sep 2002 10:10:20 +0100
Paul
1 program 100009 version 1 ready and waiting ok
2 ypcat passwd ok all users are there both on server and clients
3 adding a new user does not automatically appears on the client; first I
had to update the NIS maps(make -C /var/yp) then new user appears on the
client.
4 /etc/nsswitch.conf file on both server and client have passwd: files
nis, as are shadow, group, hosts.
5 have checked passwd file and there are no lines beginning with '+'
So still no luck!!
Regards
Justino
> -----Original Message-----
> From: Melson, Paul [SMTP:PMelson@sequoianet.com]
> Sent: 18 September 2002 17:56
> To: Justino Madariaga
> Cc: linux-user@egr.msu.edu
> Subject: RE: [GLLUG] yppasswd:yppasswdd not running on NIS master
> host
>
> OK, first, let's rule out that you can connect to yppasswdd on your NIS
> server. What's the output of `rpcinfo -u [NIS master] yppasswd`? If
> you see something like "program 100009 version 1 ready and waiting" then
> it's probably working OK.
>
> Next, check the client configuration. Do you see all of the users in
> the NIS passwd file if you run `ypcat passwd`? Add a new user from the
> NIS master and then try it again from the client to see if the new user
> appears. Beyond that, take a look at the /etc/nsswitch.conf file.
> There should be a line in there that looks like this:
>
> passwd: files nis
>
> If it says "compat" or something else, then change it, restart ypbind on
> the client and try again. Also, if you find "compat" on the passwd:
> line of your /etc/nsswitch.conf file, check the local /etc/passwd and
> the passwd file on the NIS master for lines that start with '+'. They
> can cause problems, too, though it may be necessary if you've got older
> clients (i.e. AIX 3).
>
> Hope that helps!
>
> PaulM
>
> -----Original Message-----
> From: Justino Madariaga [mailto:jmadaria@bournemouth.ac.uk]
> Sent: Wednesday, September 18, 2002 11:14 AM
> To: Melson, Paul
> Cc: 'linux-user@egr.msu.edu'
> Subject: RE: [GLLUG] yppasswd:yppasswdd not running on NIS master host
>
>
> Paul
> I got:
> 790 ? S 0:04 ypserv
> 827 ? S 0:00 ypbind
> 831 ? S 0:00 ypbind
> 832 ? S 0:00 ypbind
> 833 ? S 0:00 ypbind
> 982 ? S 0:00 rpc.yppasswdd on the server
> and
> 793 ? S 0:00 ypbind
> 794 ? S 0:00 ypbind
> 795 ? S 0:00 ypbind
> 797 ? S 0:00 ypbind on the client.
>
> still no luck!!
>
> > -----Original Message----- [Justino Madariaga]
> > From: Melson, Paul [SMTP:PMelson@sequoianet.com]
> > Sent: 18 September 2002 15:33
> > To: Justino Madariaga; linux-user@egr.msu.edu
> > Subject: RE: [GLLUG] yppasswd:yppasswdd not running on NIS master
> > host
> >
> > If you run `ps ax | grep yp` as root, what do you see? Is
> rpc.yppasswd
> > running? If not, that's the problem.
> >
> > Good luck!
> >
> > PaulM
> >
> >
> > -----Original Message-----
> > From: Justino Madariaga [mailto:jmadaria@bournemouth.ac.uk]
> > Sent: Wednesday, September 18, 2002 7:17 AM
> > To: 'linux-user@egr.msu.edu'
> > Subject: [GLLUG] yppasswd:yppasswdd not running on NIS master host
> >
> >
> > Dear linux-users
> > I have the following configuration:
> > 1 Red Hat Version 7.2 running on a PII/266 PC
> > 2 NIS and NFS (directories exported /home)
> >
> > I want the users be able to change passwords from any of the nis
> clients
> > connected to
> > the NIS Server on a Local Area Network.
> >
> > Whenever I want to change the user's password using the "yppasswd"
> > command
> > on a
> > client machine I get "yppasswd:yppasswdd not running on NIS master
> > host".
> > If I run "yppasswd" on the master server, it allows me to change the
> > user's
> > passwords,
> > but then I have to update the NIS maps (make -C /var/yp and changes
> take
> > place) so
> > that the users are able to login on the client machines using the new
> > password.
> > All other command issued from the clients work:ypwhich, ypcat, ypcat
> > passwd.byname.
> >
> > Any clues???
> >
> > Justino Madariaga
> > School of DEC
> > Room P204b
> > Ext 5257
> > E-Mail jmadaria@bournemouth.ac.uk
> >
> > http://hermes
> > Access only on the University's Intranet
> >
> > _______________________________________________
> > linux-user mailing list
> > linux-user@egr.msu.edu
> > http://www.egr.msu.edu/mailman/listinfo/linux-user