SUMMARY: NISKit yppasswd not remaking databases

From: Phil Antoine (antoine@radonc.duke.edu)
Date: Thu Oct 27 1994 - 19:36:44 CDT


I originally asked:

> First let me say that this is not the FAQ problem with parsing the
> command line. I've checked that and even added an extra few
> "-nosingle"'s to no avail.
>
> We're running Sol2.3 on an SS1000.
>
> Mysteriously one day the passwd database stopped being remade on
> yppasswd invocations that actually changed passwds. It doesn't seem
> to matter whether the request is generated by the master, a slave,
> or a client. Has any one else seen this behaviour from the NISKit?

I received two quick replies that were exactly correct.

ulla@dmi.min.dk (Ulla Fischer) :

> When I installed the NSkit, I added the following in the
> /etc/init.d/yp file:
>
> # Edit and uncomment this to automate rpc.yppasswdd startup.
> if [ -f $YPDIR/rpc.yppasswdd ];then
> PATH=$PATH:/usr/ccs/bin $YPDIR/rpc.yppasswdd \
> /var/yp/srcfiles/passwd -m passwd \
> PWDIR=/var/yp/srcfiles; echo ' yppasswdd\c'
> fi
>
> The importain thing is the PATH=$PATH:/usr/ccs/bin. If that is not
> included, yppasswdd can't find make, and therefore cannot remake the
> databases. I held my yp-files in /var/yp/srcfiles, and therefore I
> must add that, when I startup yppasswdd. I also change $YPDIR in
> /var/yp/Makefile.

glenn@uniq.com.au (Glenn Satchell - Uniq Professional Services):

> The problem I had with this is that make is not in root's default path,
> it is in /usr/ccs/bin. I put in a link from /usr/bin/make to
> /usr/ccs/bin/make and yppasswd started working. I think this will fix
> your problem. I had to work this out myself, I haven't seen it in any
> documentation.

Thanks to both of you and to any replies that follow this message.

Phil Antoine (antoine@RadOnc.Duke.EDU)
Duke University Medical Center
Radiation Oncology Physics
Durham, North Carolina USA



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:09:13 CDT