Subject: Re: YP & chpass/chfn/chsh question
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Johnny Billquist <bqt@update.uu.se>
List: tech-net
Date: 03/27/2003 23:12:17
On Thu, 27 Mar 2003, Manuel Bouyer wrote:

> On Thu, Mar 27, 2003 at 02:24:22PM -0600, Stephen M. Jones wrote:
> > I've got YP configured with a server and a few clients.  The server is
> > running ypserv and yppasswdd .. 
> > 
> > clients are configured and are only running ypbind ..
> > 
> > its possible to change a passwd using 'passwd' or 'yppasswd' .. however,
> > chpass, chfn and chsh don't seem to be able to update the master server.
> > 
> > I tried building the source with 'USE_YP=yes' and I've tried running 
> > chpass -y, but it appears to still only look at the local passwd file.
> > 
> > I don't believe yppasswdd needs to run on the clients .. if it does,
> > the /etc/rc.d/yppasswdd complains that '$ypserv is not set'
> 
> No you don't have to run yppasswdd on the clients. The problem is something
> else ...
> What aurguments are passwd to yppasswdd on the server ?

Actually, it seems as if neither chfn, chsh, chpass, nor anything except
passwd actually go through NIS even if required.

	Johnny

Johnny Billquist                  || "I'm on a bus
                                  ||  on a psychedelic trip
email: bqt@update.uu.se           ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol