Operating System - HP-UX
1753511 Members
4934 Online
108795 Solutions
New Discussion юеВ

Re: migration of users from 11.11 to 11.31

 
SOLVED
Go to solution
Grayh
Trusted Contributor

migration of users from 11.11 to 11.31

http://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1368510

I have the same situation....

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

how ??

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

/etc/shadow will be in any unix platform..I could not understand you.. Could you please elaborate on this please...

Whaen you say "would have to be migrated" ... I could not understand how to migrate... Is there a tool to migrate or a set of commands...

I was always told Ignite.....Ignite.

from you gurus I have learnt how to create an ignite server and use it to install OS accross the network.

Please tell a new-bee how to take Ignite backups .. how on disk and how on tape..
3 REPLIES 3
Turgay Cavdar
Honored Contributor
Solution

Re: migration of users from 11.11 to 11.31

1-)First backup your /etc/passwd and /etc/shadow on 11.31.
2-)Copy 11.11's /etc/passwd and shadow to 11.31 /tmp.
3-)Edit passwd and shadow with vi and delete all the user you dont want/repeated items in the new system.
4-)cat the files
cat /tmp/passwd >> /etc/passwd
cat /etc/shadow >> /etc/shadow
Turgay Cavdar
Honored Contributor

Re: migration of users from 11.11 to 11.31

Sorry the shadow copy was wrong, it should be:
cat /tmp/shadow >> /etc/shadow

For ignite i recommend you to read ignite's doc at http://docs.hp.com/en/5992-5309/index.html.

1-)add client name and server name to igniteserver and client's /etc/hosts file.

2-)on ignite server create client directory
#mkdir /var/opt/ignite/recovery/archives/client_name
#chown bin:bin /var/opt/ignite/recovery/archives/client_name

3-)export client directory
#vi /etc/exports
/var/opt/ignite/recovery/archives/client_name -anon=2,access=client_name
#exportfs -av

4-)Run make_net_recovery on the client
#/opt/ignite/bin/make_net_recovery -A -v -x inc_entire=vg00 -s IGNITE_SERVER -a IGNITE_SERVER:/var/opt/ignite/recovery/archives/`/usr/bin/hostname` -n 3 -d "Recovery Archive of `/usr/bin/hostname` on `/usr/bin/date`"
Grayh
Trusted Contributor

Re: migration of users from 11.11 to 11.31

,