Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problems with passwd map in NIS (or YP), Need help/advice?

0 views
Skip to first unread message

Ricardo Marek

unread,
May 14, 1992, 3:33:14 AM5/14/92
to

Hi, Gurus..

Yellow pages master server is a SS2 (SunOS 4.1.1).

I added (In the master!), to the /etc/rc.local the corresponding lines,
in order to have the `rpc.yppasswdd' daemon present, and allow every user,
that wants to change his/her password in the NIS/YP passwd maps.
I have done exactly what the ... manuals say (System & Network
Administration, SunOS 4.1.1).

The results:
- passwd file in the NIS server is updated, but NIS/YP data-bases were
not updated (Failed to run `make passwd' in /var/yp); even with `-m' flag:
From /etc/rc.local @ master:
....
if [ -f /usr/etc/rpc.yppasswdd -a -d /var/yp/`domainname` ] ; then
/usr/etc/rpc.yppasswdd /etc/passwd -m \
passwd DIR=/etc
fi
....

From the manuals, is is written, the passwd file for the NIS/YP data-bases
must reside in other place then /etc, and must not contain an entry for root.
(I understand why!), but here arrives the question...

How can I put /etc/passwd in other directory, and leave the other maps in
the traditional /etc directory? ( aliases, services, etc..)

We have a hetherogenius network, with SunOS(4.1.1) and Ultrix(4.2).
we have several Ultrix machines, so, How can I make the Ultrix machines
use SunOS maps? (passwd, groups, aliases differ)

Thanks for your help, I will sumarize the results..

--- Ricky Marek
--------------------------------------------------------------------------
Fibronics Ltd., Matam Industrial Park, Haifa 31905, ISRAEL
phones: +972-4-313690 Fax: +972-4-550550
e-mail: ri...@FibHaifa.com or ri...@fibronics.UUCP

--
Ricky Marek (System Manager)
Fibronics Ltd., Matam Industrial Park, Haifa 31905, ISRAEL
phones: +972-4-313690 Fax: +972-4-550550
e-mail: ri...@FibHaifa.com or ri...@fibronics.UUCP

0 new messages