HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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