Operating System - HP-UX
1836752 Members
2875 Online
110109 Solutions
New Discussion

Re: password and group file

 
SOLVED
Go to solution
Patrick Chim
Trusted Contributor

password and group file

Hi all,

I want to migrate the applications, database ... from a L2000 server HP-UX 11.0 to a rp8400 server HP-UX 11i. Can I just copy the passwd and group file to the new server to keep all user as well as their password ?

As I know in linux, you also have to copy the shadow file. But in HP-UX, what files am I need to concern ?

Regards,
Patrick
2 REPLIES 2
Patrick Wallek
Honored Contributor
Solution

Re: password and group file

First question -- Is your system set up as trusted? Does the /tcb directory structure exist.

If it does then you need to include the entire /tcb directory in your plans as well.

You can copy your /etc/passwd and /etc/group files to migrate the users. That shouldn't be a problem. Something to consider though, is to just copy regular users out of the passwd file on the old system to the new, so you don't overwrite the regular system created accounts.

I have seen cases where the /tcb directory, /etc/passwd and /etc/group were copied from one system to another without any problems though.
Patrick Chim
Trusted Contributor

Re: password and group file

Hi,

My system is not a trusted system.

Of course I will only copy the user accounts that created manually. Previous I have copied some users to test and is OK. But I have to confirm that there is no side effect.

Thanks and regards,
Patrick