SUMMARY: yppasswd not forcing a make?

From: Dave Shevett (shevett@sparc.bighouse.unipress.com)
Date: Thu May 27 1993 - 18:17:54 CDT


Tara tara tara!! Sun-managers comes through with blinding speed once
again, and the correct answer is had...

My original query:

> I have an NIS server (SunOS 4.1.1), servicing a plethora of workstations
> (including Solaris 2.1, SGI's, etc etc).
>
> I've started up yppasswdd on the NIS server, with the following a
> arguments:
>
> rpc.yppasswdd /etc/passwd -m passwd
>
> I'd like folks on the nis clients to use 'yppasswd' to change their
> password on the server. It works fine - the entry in /etc/passwd
> changes, but the make is never run, pushing the updated passwords out
> to the net.
>
> TFM sez that the -m passwd is supposed to run the make in /var/yp,but
> it just doens't seem to be happening. Any suggestions?

*sigh* i should have exhausted my available resources, because the
answer was in the FAQ as follows:

14) How come yppasswdd does not automatically update the yp maps?

        There is a bug in 4.1 rpc.yppasswdd that causes it misinterpret
        the command line arguments. A work-around is to add the
        "-nosingle" flag (which is the default), this shifts the arguments
        over one, so "passwd" is read instead of "-m".

        For example:

        rpc.yppasswdd /var/yp/passwd -nosingle -m passwd DIR=/var/yp
        If you are running the C2 security package, you should apply
        patch 100201-04, as it fixes several problems with rpc.yppasswdd.

Thanks to:

From: seeger@reef.cis.ufl.edu (F. L. Charles Seeger III)
From: Javier Fernandez Baldomero <jfernandez@ugr.es>
From: CAMPANI@genova.infn.it
From: Sue Chichester <SUE@uno.cc.geneseo.edu>
From: Markus Liechti <liechti@tech.ascom.ch>
From: p.elliott@trl.oz.au (Paul Elliott)
From: panissec@nms.otc.com.au (Colin Panisset)

---------------------.--------------------.--------------------------------
Dave Shevett | Unipress Software | "The shortest distance between
Systems Jockey | Edison, NJ USA | two puns is a straight line..."
shevett@unipress.com | (908)287-2100 x921 | - Doc Webster



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:07:53 CDT