Operating System - HP-UX
1834163 Members
2559 Online
110064 Solutions
New Discussion

Re: Migrating users from a Linux box to HPUX10.20 one

 
GTI
Occasional Advisor

Migrating users from a Linux box to HPUX10.20 one

I need to migrate my users from a Linux box to HPUX10.20 one. What I have to do?

Leandro.
2 REPLIES 2
Vito Sarducci
Regular Advisor

Re: Migrating users from a Linux box to HPUX10.20 one

I have found the following url's that should assist you in your endeavor porting linux over to hp-ux.

http://devresource.hp.com/devresource/Topics/Porting/Port.html

http://devresource.hp.com/LPK/

Hope this helps.

Regards,

Chris
chrisam@rocketmail.com
Lifes too short to stress out, Enjoy every day you have on earth!
Shahul
Esteemed Contributor

Re: Migrating users from a Linux box to HPUX10.20 one

Hi

I am not thru with migrating users from Linux to Unix. If U want to recreate those all users here in HP, then U can use this script. First U copy ur linux passwd file to HP box as passwd.lin

Then run this script

for i in `cut -d : -f 1 passwd.lin`
do
echo "Enter Home directory, Uid, Gid for" $i
read hom
read uid
read gid
useradd -u $uid -g $gid -m -k /etc/skel -d $hom -s /bin/sh $i
echo "Changing the passwd for " $i
passwd $i
echo "Created the user"
done


Best of luck

Shahul