From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,157a16a8ebf07fda X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,157a16a8ebf07fda X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1995-02-09 09:47:47 PST Path: swrinde!elroy.jpl.nasa.gov!netline-fddi.jpl.nasa.gov!nntp-server.caltech.edu!SOL1.GPS.CALTECH.EDU!CARL From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick) Newsgroups: comp.os.vms,comp.sys.dec Subject: Re: REQ: moving users across platforms Date: 9 Feb 1995 17:47:29 GMT Organization: HST Wide Field/Planetary Camera Distribution: world Message-ID: <3hdkfh$ek9@gap.cco.caltech.edu> References: <3h645h$ahk@usenet.INS.CWRU.Edu>,<3h7r95$kp7@post.gsfc.nasa.gov> Reply-To: carl@SOL1.GPS.CALTECH.EDU NNTP-Posting-Host: sol1.gps.caltech.edu Xref: swrinde comp.os.vms:114513 comp.sys.dec:30454 In article <3h7r95$kp7@post.gsfc.nasa.gov>, koehler@bessta.gsfc.nasa.gov (Bob Koehler) writes: = =In article <3h645h$ahk@usenet.INS.CWRU.Edu>, gd621@cleveland.Freenet.Edu (Rick Schwall) writes: => =>I need some help in moving a large number of users from a VAX =>(which is being retired) to an Alpha running openVMS. Does =>anyone know of a way totransfer them across in bunches while =>retaining their passwords? We know how to move the files. => =>Preferably, reply by E-mail to rick.schwall@amgen.com => =>Thanks very much! => = =Just copy the SYSUAF.DAT. By backup to/from tape, or across a net. Make sure =you double check the protection on the resulting file and make sure its in =sys$common, not sys$specific. Check quotas on the SYSTEM and any other common =accounts before and after, fix them, and you can use the differences as a guide =to what you might need to change for all accounts. Well, that works fine if you want to use all the users at once. However, he says he wants to move them in bunches. In that case, moving SYSUAF.DAT probably won't work: You'll have folks who change their passwords after the move has started but before it's finished. In this case, you simply want to copy the records for the each of the users you want to move. That's easy to do. One way to do it is via a FORTRAN program similar to the one that follows. Of course, you'll want to make a copy of the Alpha's SYSUAF.DAT before trying anything like this. CHARACTER*2048 RECORD CHARACTER*32 USER INTEGER*4 RECLEN OPEN (UNIT=1,FILE='OLDUAF.DAT',ACCESS='KEYED',STATUS='OLD', 1 FORM='FORMATTED') OPEN (UNIT=2,FILE='NEWUAF.DAT',ACCESS='KEYED',STATUS='OLD',SHARED, 1 FORM='FORMATTED') 10 WRITE(6,20) 20 FORMAT(' Username: ',$) READ(5,30,END=50), USER 30 FORMAT(A) READ(1,40,KEY=USER) RECLEN, RECORD 40 FORMAT(Q,A) WRITE(2,30) RECORD(1:RECLEN) GOTO 10 50 END -------------------------------------------------------------------------------- Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL Disclaimer: Hey, I understand VAXen and VMS. That's what I get paid for. My understanding of astronomy is purely at the amateur level (or below). So unless what I'm saying is directly related to VAX/VMS, don't hold me or my organization responsible for it. If it IS related to VAX/VMS, you can try to hold me responsible for it, but my organization had nothing to do with it.