HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

User migration from HP-UX PA-RISC 11.11 to Itanium 11.31

 
Gaby1110
Frequent Advisor

User migration from HP-UX PA-RISC 11.11 to Itanium 11.31

Hi,

I want to migrate my users from HP-UX PA-RISC 11.11 to Itanium 11.31 Server. Could you please let me know the process for the same....

Thanks in advance
Gaby
7 REPLIES
Steven E. Protter
Exalted Contributor

Re: User migration from HP-UX PA-RISC 11.11 to Itanium 11.31

Shalom,

The answer depends on current security setup.

You can take non-admin portions of /etc/passwd straight across, the format of the user is is the same.

If you use /etc/shadow or trusted system, the password files would have to be migrated.

Best actually to convert to a non-trusted system and then copy the relevant /etc/passwd entries across.

SEP
hpuxadmin in gtalk
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Gaby1110
Frequent Advisor

Re: User migration from HP-UX PA-RISC 11.11 to Itanium 11.31

Thanks SEP,

After copying the /etc/passwd, do we need to set the password for each user using 'passwd' and created the home directory?

We are using the powerbroker ( pbksh ) Shell so will be installing the same.

Thanks
Gaby
Steven Schweda
Honored Contributor

Re: User migration from HP-UX PA-RISC 11.11 to Itanium 11.31

> After copying the /etc/passwd, do we need
> to set the password for each user using
> 'passwd'

If the encrypted passwords are in this
/etc/passwd file, then they should be ok.

> and created the home directory?

Did copying /etc/passwd create any home
directories? If they don't exist, then I'd
guess that someone will need to create (copy)
them.
Gaby1110
Frequent Advisor

Re: User migration from HP-UX PA-RISC 11.11 to Itanium 11.31

Thanks Steven,

The password is as mentioned below (*)

gaby:*:124:20:Gaby:/home/Gaby:/usr/local/bin/pbksh

and the home directory doesn't exit.

Please suggest.

Thanks
Gaby
Tingli
Esteemed Contributor

Re: User migration from HP-UX PA-RISC 11.11 to Itanium 11.31

If you use non-trusted system, you need to copy file /etc/shadow to the new server too. If you use trusted system, it is easier to switch it to non-trusted system then copy /etc/shadow file to the new system then switch it back to trusted system as mentioned by Steve.

After that, you can copy all user's home directory to the new system.

Users will still keep their old password and you don't need to reset them.
Steven Schweda
Honored Contributor

Re: User migration from HP-UX PA-RISC 11.11 to Itanium 11.31

> [...] switch it to non-trusted system then
> copy /etc/shadow [...]

That's "copy /etc/passwd", here. (The other
/etc/shadow is ok.)
TTr
Honored Contributor

Re: User migration from HP-UX PA-RISC 11.11 to Itanium 11.31

> The password is as mentioned below (*)
> gaby:*:124:20:Gaby:/home/Gaby:/usr/local/bin/pbksh

This looks like a trusted system to me. Verify by checking if there is a /tcb directory.

You not only need tocreate the user home directories but migrate their contents. What about other settings for users in /etc/profile? Or the pbksh? Any customizations need to be transferred over. Also you did not mention any other applications that the users need from the old server. Are they going to be there in the new server?