I have a small Sun environment running Solaris 2.4 and NIS+. (I inhereted
it - I didn't create it). I want to remove all traces of NIS+.
On the NIS+ server machine I ran
and redirected the output into a file which I'll call the master
passwd file. I was thinking that I could use this file to populate
the passwd file on the clients (and the server, once the clients
were off of NIS+).
So, I logged into a client, modified /etc/nsswitch.conf to remove
all mention of nisplus, and then rebooted.
I then inserted the master passwd file in /etc/passwd on the client
and then ran pwconv. I was expecting new entries to be added to
/etc/shadow corresponding to the new lines that I had added to /etc/passwd.
This did not happen. Instead, somehow, /etc/passwd reverted back
to its original contents - that is the contents before I had inserted
the master password file.
I fooled around trying various things but each time /etc/passwd
magically gets restored to what is was before I changed it.
I'm lost. How does /etc/passwd go back to its original contents?
How are you supposed to create a passwd file on a ex-NIS+ client?
Anything you read here is my opinion and in no way represents the Univ. of Cal.
"I deal with dreamers, and telephone screamers." -- Joni Mitchell