Subject: Re: YP & chpass/chfn/chsh question
To: Stephen M. Jones <smj@cirr.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-net
Date: 03/27/2003 22:42:15
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 ?
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 24 ans d'experience feront toujours la difference
--