From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079067215920.tru64-unix-managers.marc@archive.invalid> From: Bruce Senn Date: Wed, 11 Aug 1999 17:59:47 +0000 To: tru64-unix-managers Subject: SUMMARY: Copying Passwords with C2 Security X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079067215920 I received two suggestions: #1 from Benjamin Smith : ============================================ we've had success by replicating /etc/passwd, group and /var/tcb/files/auth.db; i may run authck following the migration just to be sure everything moved okay. #2 from Richard Rogers ================================================ Assuming both systems are set up for C2, you will need... The /etc/passwd file The /tcb/files/auth.db file (if present) The /var/tcb/files/auth.db file (if present) The /tcb/files/auth/ directory and all its subdirectories I think that should get you there (not forgetting mkpasswd of course...) I have not tried either yet, but believe in my case, copying /var/tcb/files/auth.db and running authck will suffice. I don't need to change the passwords for users under uid 99. Nor to I want to have passwd out of sync with actual user accounts. Bruce ---------------------------------------------------------------------- Bruce J. Senn Phone: (518) 388-6664 Senior System Manager FAX: (518) 388-6458 Union College Internet: sennb@alice.union.edu Schenectady, NY 12308 WWW: http://www1.union.edu/~sennb ---------------------------------------------------------------------- Original Question: > > I have two DEC Unix 4.0D systems, one for production, the other for > testing. Passwords on the test system are a bit out of date, and so > I need to reproduce the current passwords from the live system on the > test system. > > Prior to C2 security, copying the password file would suffice (I think). > On Ultrix, I could copy both the passwd file and the auth database or edit > selected entries with edauth. > > Can anyone suggest a method for doing this on DEC Unix 4.0D?