Operating System - HP-UX
1834935 Members
2326 Online
110071 Solutions
New Discussion

Re: Import password database into 11.23

 
Krish_4
Contributor

Import password database into 11.23

Hi,

We are migrating to 11.23 from 11.11 and setting our systems as trusted.

Is there any easy way to import unix accounts from 11.11 to 11.23?

Any help is appreciated.

Thanks.
3 REPLIES 3
A. Clay Stephenson
Acclaimed Contributor

Re: Import password database into 11.23

Copy /etc/passwd, /etc/group, and the /tcb tree. Make backups before doing the copies and as always when doing anything like this be logged in as root in at least two sessions so that you can get yourself out of trouble just as fast as you got yourself in.

I would use tar or cpio rather than rcp to do the copy operation so that file mode and ownserships are preserved.

You also need to take into account each user's home directory but hopefully everyone is under /home so this becomes easy.
If it ain't broke, I can fix that.
Krish_4
Contributor

Re: Import password database into 11.23

Hi Clay,

The 11.11 system is not trusted currently, so there is no /tcb tree.

Thanks.
A. Clay Stephenson
Acclaimed Contributor

Re: Import password database into 11.23

In that case, copy /etc/passwd, /etc/group, and /home to the new box and then convert the system to trusted using SAM or directly using the tsconvert command.

Again, be logged in as root in at least two seesion before doing the copy and tsconvert.
If it ain't broke, I can fix that.