As the title suggests, I'm having trouble getting nispopulate to populate
the password field of the passwd table. Here's the situation: I used
nispopulate to populate the tables of a test NIS+ machine from a correctly
operating NIS server. This worked, but left the password field of each
record in passwd set to the string "##username", for that uns
Using a hint from the net, I then tried something like:
/usr/lib/nis/nispopulate -Y . . . . shadow
i.e. calling nispopulate on just the shadow map of the NIS server.
This gave the interesting set of messages:
This script will populate the following NIS+ tables for domain
Wiz.Com. from the YP maps in domain testsp:
Do you want to continue? (Y or N) y
removing existing local YP map...
copying YP map from server...
populating shadow table from testsp YP domain...
adding non-standard key-value table passwd...
passwd.org_dir.Wiz.Com. is not a two column table!
**WARNING: failed to populate shadow table.
In other words, it understood that shadow was related to the passwd
table, but then couldn't carry the process through correctly because
passwd is not a two-column table (no kidding). Anyone understand
what is going on here?
This is not a critical problem--I can easily write a Perl script to do
what's necessary, or modify one of the several which have been sent to
me--but it would be nice to understand what the heck is happening.