Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick)
Subject: Re: REQ: moving users across platforms
Date: 9 Feb 1995 17:47:29 GMT	[thread overview]
Message-ID: <3hdkfh$ek9@gap.cco.caltech.edu> (raw)
In-Reply-To: 3h7r95$kp7@post.gsfc.nasa.gov

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.


      reply	other threads:[~1995-02-09 17:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-02-06 21:26 REQ: moving users across platforms Rick Schwall
1995-02-07 13:06 ` Bob Koehler
1995-02-09 17:47   ` Carl J Lydick [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox