From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Pedro AF. Cunha" Newsgroups: gmane.os.tru64.managers Subject: Summary: Moving users from V4.0F ASE+C2+NIS to 5.1B Cluster+C2+NIS Date: Thu, 10 Jul 2003 10:16:53 +0100 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1057828792 17764 80.91.224.249 (10 Jul 2003 09:19:52 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 10 Jul 2003 09:19:52 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Thu Jul 10 11:19:51 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 19aXaA-0004aK-00 for ; Thu, 10 Jul 2003 11:19:19 +0200 Original-Received: (qmail 10688 invoked by uid 5); 10 Jul 2003 09:19:42 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 10679 invoked by uid 49493); 10 Jul 2003 09:19:42 -0000 Original-Received: from Pedro.Cunha@decsis.pt by sws1 by uid 49491 with qmail-scanner-1.16 (clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(0.0/5.0):. Processed in 0.60502 secs); 10 Jul 2003 09:19:42 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 10 Jul 2003 09:19:41 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HHS009ASXWS6I@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 10 Jul 2003 05:19:41 -0400 (EDT) Original-Received: from decsissrv.decsis.net ([213.13.134.158]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HHS0000AXVV2B@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 10 Jul 2003 05:19:10 -0400 (EDT) Original-To: tru64-unix-managers@ornl.gov X-MIMEOLE: Produced By Microsoft Exchange V6.0.6249.0 Thread-Topic: Summary: Moving users from V4.0F ASE+C2+NIS to 5.1B Cluster+C2+NIS Thread-Index: AcNFassMqnCHVGrPRZeV90OdzrZmHgBV1zIw content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Xref: main.gmane.org gmane.os.tru64.managers:4808 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:4808 Hello all, I've got two replies that I've posted below. I plan do the moving by mid = August, until there I've to do a lot of tests on this move. My special thanks to: Rochelle Lauer [rochelle.lauer@yale.edu] Ann Majeske [Ann.Majeske@HP.com] Replies: There's instructions in the Security Administration manual on setting up Enhanced Security and NIS in a cluster. To copy the accounts from one cluster to the other, in addition to doing all of the things you'd normally do to move users from one system to another (moving/copying home directories, copying entries from /etc/passwd and /etc/group, etc.) To copy NIS protected password database information from one NIS domain to another: on first NIS master: #/usr/tcb/bin/edauth -N -g > prpasswd.out copy prpasswd.out to new NIS master. on second NIS master: #edauth -s -N < prpasswd.out Note that you have to do this AFTER setting up the accounts in the passwd map, or it won't work. You may also be able to just copy the prpasswd map from the first NIS master to the second. To copy local user protected password database information from one Enhanced Security system to another: on first system: #/usr/tcb/bin/edauth -g > auth.out copy auth.out to new system and edit it to remove any system accounts that you don't want/need copied from the first system. on second system: #edauth -s < auth.out Note that you have to do this AFTER setting up the accounts in the /etc/passwd file, or it won't work. To copy NIS protected password database information from a NIS domain to local protected password database (auth.db) on another system: on NIS master: #/usr/tcb/bin/edauth -N -g > prpasswd.out copy prpasswd.out to new system. on second system: #edauth -s < prpasswd.out Note that you have to do this AFTER setting up the accounts in the /etc/passwd file, or it won't work. -------------------------------------------------------------------------= --- If you stay with NIS no move is necessary. NIS is a cluster aware = application and works fine in the TruCluster 5.1B environment. When = creating the cluster with clu_create, your NIS should be converted to = run in the cluster ( the master is the default cluster alias). Why do you want to move from NIS ? regards rochelle lauer rochelle.lauer@yale.edu -----Original Message----- From: Pedro AF. Cunha=20 Sent: ter=E7a-feira, 8 de Julho de 2003 17:06 To: tru64-unix-managers@ornl.gov Subject: Moving users from V4.0F ASE+C2+NIS to 5.1B Cluster+C2+NIS Hi Gurus, We're in a process of moving our users from the 4.0F version with ASE = and C2 with prpasswd distributed via NIS, to a 5.1B Cluster with C2 and = maybe with NIS. I've a few questions on this? 1. What would be the best process to do this move?=20 2. How can I convert the prpasswd to the format of = /var/auth/files/auth.db?=20 Many thanks in advance. Greetings, Pedro Cunha=20 (Systems Engineer)=20 Decsis - Sistemas de Informa=E7=E3o, Lda.=20 Rua Pedro Hispano, 1329=20 4250-368 Porto=20 Portugal=20 Tel: +351 228349310=20 Fax: +351 228349319=20