RE: [ILUG] NIS Client running on the NIS Server

From: Dunphy Richard-rdunph01 (Rik.Dunphy at domain motorola.com)
Date: Wed 10 Oct 2001 - 15:32:11 IST


Spoke too soon....

I've removed the users from /etc/passwd and all seems to work ok now except for setting the password on the server.

Using passwd gives the following output
  Old Password:
  New password:
  Re-enter new password:
  yppasswdd not running on NIS master zeus
  Error: Password NOT changed
  Segmentation fault

and yppasswd simply gives
  yppasswd: yppasswdd not running on NIS master host

But doing an 'rpcinfo -u zeus yppasswd' gives
  program 100009 version 1 ready and waiting

Even a 'ps -ae | grep ypp' gives
  15129 ? 00:00:00 rpc.yppasswdd

So what am I missing???

Rik.

> -----Original Message-----
> From: Dunphy Richard-rdunph01 [mailto:Rik.Dunphy at domain motorola.com]
> Sent: 10 October 2001 15:05
> To: Irish Linux UG (E-mail)
> Subject: RE: [ILUG] NIS Client running on the NIS Server
>
>
> Thanks all!
>
> I had most of it worked out, but it was the yppasswd screwing
> me up. When I run both the master and client on the server
> passwd still tries to access the local /etc/passwd. While on
> a true client passwd always directs to the yppasswd!
>
> Anyway, I'll give it a shot and be back if I have problems
>
> RikD.
>
> > -----Original Message-----
> > From: Gavin McCullagh [mailto:gavin at domain fiachra.ucd.ie]
> > Sent: 10 October 2001 14:46
> > To: Irish Linux UG (E-mail)
> > Cc: Niall O Broin
> > Subject: Re: [ILUG] NIS Client running on the NIS Server
> >
> >
> > On Wed, 10 Oct 2001, Niall O Broin wrote:
> >
> > > On Wed, Oct 10, 2001 at 12:28:06PM +0100, Dunphy
> > Richard-rdunph01 wrote:
> > >
> >
> > > If you're using NIS use it completely and correctly which
> > means that you
> > > don't have user entries anywhere except on the NIS master server.
> >
> > I couldn't agree more. A few years ago when I knew nothing
> about *NIX
> > (what's changed, I here them cry) I was put to work on a
> > linux machine as a
> > local user. It was also using NIS. It turned out that my
> > UserID coincided
> > with that of one the NIS users. Caused all sorts of odd
> > behaviour I can
> > tell you.
> >
> > I'd also suggest if this system is important the idea of using NIS
> > Masters/Slaves/Clients. This way the Master holds the YP
> > database. But
> > the slaves take a copy of it. The clients behave as clients
> > always did.
> > The idea is that the clients can connect to any master/slave
> > for their YP.
> > Then should your master go down for some reason, all accounts
> > do not disappear
> > off all clients cos one of the slaves can take over.
> >
> > Gavin
> >
> >
> > --
> > Irish Linux Users' Group: ilug at domain linux.ie
> > http://www.linux.ie/mailman/listinfo/ilug for
> > (un)subscription information.
> > List maintainer: listmaster at domain linux.ie
> >
>
> --
> Irish Linux Users' Group: ilug at domain linux.ie
> http://www.linux.ie/mailman/listinfo/ilug for
> (un)subscription information.
> List maintainer: listmaster at domain linux.ie
>



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:12:40 GMT