Operating System - HP-UX
1832622 Members
2745 Online
110043 Solutions
New Discussion

How to transfer users from one server ( HP-UX 11 ) to another

 
SOLVED
Go to solution
yizhi wang
Occasional Contributor

How to transfer users from one server ( HP-UX 11 ) to another

Hello,
I wonder if any of you could tell me how I can transfer users setup from one HP-UX server to another. They are both non-trust system.
Can I simplly copy /etc/passwd and /etc/group and /home directory.


Thanks a lot.
yizhi wang
4 REPLIES 4
Sundar_7
Honored Contributor

Re: How to transfer users from one server ( HP-UX 11 ) to another

Yes, on a non-trusted system things are simple and this is all you have to do.
Learn What to do ,How to do and more importantly When to do ?
Jeff_Traigle
Honored Contributor

Re: How to transfer users from one server ( HP-UX 11 ) to another

Depends if there are users on the other system already. If not, then copying what you stated will do the trick. If there are existing users, then you'll want to take special steps to merge the password and group files instead of simply copying over what's there.
--
Jeff Traigle
Jim Mallett
Honored Contributor
Solution

Re: How to transfer users from one server ( HP-UX 11 ) to another

You can copy the /etc/passwd and /etc/group files over. You definitely want to do you homework first.

Is the system you are copying to new? If there are existing users on the new system be sure you are not bringing over UIDs/GIDs that already exist.

Also be sure that all the system accounts have the same UID/GID information.

ps.. Have a root session open on the new machine when you do the copy. That way you can do a pwck and grpck.

Jim
Hindsight is 20/20
yizhi wang
Occasional Contributor

Re: How to transfer users from one server ( HP-UX 11 ) to another

Thank you all for your quick response.
Yes. The server I am copying to is a new server.

yizhi