🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #8298

Bug in rpc.yppasswdd ?

#8298
From: Don Christensen
Date: Tue, 04 Jun 1991 18:40
34 lines
1832 bytes
I am having a problem getting rpc.yppasswdd to automatically do a yp make
whenever an NIS passwd gets changed.  I am using the exact line given in
the SunOS 4.1.1 System and Network Administration Manual on page 490
(except I am using /etc/passwd as the master passwd file) as follows:

    /usr/etc/yp/rpc.yppasswd /etc/passwd -m passwd DIR=/var/yp/kesa

When I use yppasswd from an NIS client, the maps do not get propogated
until a cron job runs and does it or I do a make by hand.  In trying to
debug this, I replaced /bin/make with a shell script that echoed its
arguments to a file as follows:

    #! /bin/sh
    echo Make arguments are $* > /var/tmp/make.args

After doing a yppasswd on a client, the /var/tmp/make.args file contained
the following:

    Make arguments are /usr/etc/yp/rpc.yppasswd \
    /etc/passwd -m passwd DIR=/var/yp/kesa

    (line broken by me for readability)

It seems to me that this is incorrect ;^)  Am I doing something wrong?
Is there a workaround or patch that I do not know about?  We are running
4.1.1 with no patches on an IPC.

Thanks for any help.

-Don
-- 
Don Christensen  <=> djc@kesa.com     <=> "Ashes and diamonds, foe and friend;
Kesa Corporation <=> ...!mips!kesa!djc <=> they are all equal in the end."
Santa Clara, CA  <=> ...!daver!kesa!djc <=>                      -- Pink Floyd
Technical Details
Message-ID: <3382@brchh104.bnr.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request
From: djc@kesa.com (Don Christensen)
Newsgroups: comp.sys.sun
Subject: Bug in rpc.yppasswdd ?
Keywords: No Digest Subjects in Unmoderated Mode
Message-ID: <3382@brchh104.bnr.ca>
Date: 4 Jun 91 18:40:00 GMT
Sender: news@brchh104.bnr.ca
Organization: Sunspots, Psuedo-Unmoderated
Lines: 36
Approved: sun-spots@rice.edu
X-Original-Date:    Fri, 17 May 91 22:41:56 GMT