From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: bryan.mills@lynx.co.uk Newsgroups: gmane.os.tru64.managers Subject: SUMMARY:RE: Migrating C2 Enhanced Securi Date: Fri, 10 May 2002 13:35:56 +0100 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1021034039 2659 127.0.0.1 (10 May 2002 12:33:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 10 May 2002 12:33:59 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 1769ax-0000gm-00 for ; Fri, 10 May 2002 14:33:59 +0200 Original-Received: (qmail 11460 invoked by uid 5); 10 May 2002 12:34:05 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 11452 invoked from network); 10 May 2002 12:34:05 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (134.167.3.119) by 0 with SMTP; 10 May 2002 12:34:05 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1 #39060) with ESMTP id <0GVW00KOMAWSJH@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 10 May 2002 08:34:05 -0400 (EDT) Original-Received: from mailsrv02.lynx.co.uk (mailhost.lynx.co.uk [194.203.251.189]) by emroute1.cind.ornl.gov (PMDF V6.1 #39060) with ESMTP id <0GVW002G1AWIAP@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 10 May 2002 08:33:56 -0400 (EDT) Original-Received: from mailhost.lynx.co.uk (unverified) by mailsrv02.lynx.co.uk (Content Technologies SMTPRS 4.2.5) with SMTP id for ; Fri, 10 May 2002 13:37:58 +0100 Original-To: tru64-unix-managers@ornl.gov X-Mailer: TFS Secure Messaging /222000000/223042434/223004594/223091115/ X-Mailer: Version 4.71 Build 102 Xref: main.gmane.org gmane.os.tru64.managers:138 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:138 There are two ways of doing it. 1. If you copy /tcb/files/auth.db, you will get all users (includingroot...) 2. If you have a list of the users you will migrate, you can do an "edauth -g" for each user to a file (for each user). Move these files over to the new system with the appropriate lines from /etc/passwd and /etc/group. Afteryou have added these to the /etc/passwd file on the new system, run a "catfile | edauth -s" for each user. The joy of the second method is that you can do single users without screwing up the existing users (for example root). Thanks to Michael Bradford for this one. Option 2 is exactly what I need. I can now just migrate the users that I need across to the new server. I also found a useful command edauth -g | grep -c ":lock@:" which will return 1 if NOT locked and 0 if locked. This will allow me to determine which accounts have timed out and locked, and will not need migrating. Bryan Mills. Original Post I'm trying to migrate all users from one C2 enabled system (4.0F) to a new 5.1A system. Obviously I need to move /etc/passwd, /etc/group and the home directories, but I can't find a definitive list of the edauth database files and such. I know I've seen this topic before, and I know I've seen an answer! - Can't find it on tru64.org. Thanks, Bryan Mills. This message is intended only for the use of the person(s) ("The intended Recipient(s)") to whom it is addressed. It may contain information which is privileged and confidential within the meaning of applicable law. If you are not the intended recipient, please contact the sender as soon as possible. The views expressed in this communication are not necessarily those held by LYNX Express Limited.