From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079042215618.tru64-unix-managers.marc@archive.invalid> From: TIMM () cnsvax ! albany ! edu Date: Mon, 10 May 1999 18:37:57 +0000 To: tru64-unix-managers Subject: Partial summary: Preserving a C2 Security database with NIS X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079042215618 To summarize: The initial problem is the following: My NIS server is running C2 security, as are all the clients. I now have to do a clean install of digital unix 4.0E on the server.. the clients have already been upgraded. The goal is to preserve a prpasswd file which has been arrived at through much work and heartache, without losing everyone's password in the process. Two paths have been suggested: One: use invsync and genufi to create a list of all files that have been modified by the system. This can then be edited to include only the files you want to save, then use updmv -o to back them up, and when the install is done, updmv -i brings them to /var/adm/install/update (thanks to davis@tessco.com) It appears like this path will work, because everyone says that the protected net password databases are just like any other files. But just incase it doesn't, I'd like to have backup. Thus we come to Two: Some have suggested use edauth -dp -g > temp and edauth -dp -s < temp to store and retrieve the database from a flat file. While this does work for local users, it does not work for NIS users, nor does the logical extension edauth -dp -Ns < temp. magill@isc.upenn.edu sent a much more complicated scheme but again it doesn't work for NIS users. So I ask one more time: Is there any way to export an NIS-based C2 database and read it in again from a flat file? Has anyone done it? Steve Timm