1748202 Members
2959 Online
108759 Solutions
New Discussion юеВ

Re: copy password file

 
SOLVED
Go to solution
Jonathan Grymes
Frequent Advisor

copy password file

I have a new system (HP-UX 11.23) built and would like to know if I can copy the password or shadow file from one system to the new system. Or do I have to create all users and passwords from scratch. Both systems are in trusted mode.
5 REPLIES 5
TTr
Honored Contributor
Solution

Re: copy password file

In addition you have to copy /tcb to the new system. That's where all the details about the user accounst are.
Burak Topal
Frequent Advisor

Re: copy password file

Hi,

First, it s better to copy only passwd and group files, after these you can create shadow file with "pwconv" which is more reliable.

But there may be a problem about user's home directories, you may have to create them on the destination.If there is not so much user on your system it is better to create all users and passwords from beginning..
Burak Topal
Frequent Advisor
Johnson Punniyalingam
Honored Contributor

Re: copy password file

>>copy password file>>>>
>>Both systems are in trusted mode. <<<

you can tar /tcb

and untar /tcb to new built server
Problems are common to all, but attitude makes the difference
Suraj K Sankari
Honored Contributor

Re: copy password file

Hi,

Just copy only passwd file from server A to server B, and convert server B into trusted mode with command "/usr/lbin/tsconvert"

Suraj