Operating System - HP-UX
1824994 Members
2126 Online
109678 Solutions
New Discussion юеВ

Merging of Passwd and shadow file

 
SOLVED
Go to solution
Vishu
Trusted Contributor

Merging of Passwd and shadow file

Hi,

I have HP.UX 11.11 in a production server and i am doing a DR for it. In my production server, the /etc/passwd and /etc/shadow file exists for user-ids. but in my DR box, only /etc/passwd file exists.

Now, i have to copy my production user-ids with their passwords to the DR box. How would i do this as the DR box does not have the /etc/shadow file. How the users retain their old passwords in DR as of production.

Thanks
3 REPLIES 3
Tingli
Esteemed Contributor

Re: Merging of Passwd and shadow file

You can try pwunconv, which will remove shadow file and put the info to passwd file.

http://docs.hp.com/en/B3921-90010/pwunconv.1M.html
James R. Ferguson
Acclaimed Contributor
Solution

Re: Merging of Passwd and shadow file

Hi Ranju:

It sounds like you have a great many more questions to resolve than simply copying accounts and passwords from one server to another!

That said, however, the shadow password implementation is the current standard for HP-UX. Since your production server uses it, your backup server most certainly should too!

Since your operating system version is 11.11 you will need to fetch and install the 'ShadowPassword' product:

http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=ShadowPassword

Use 'pwconv' to convert. See the manpages:

http://www.docs.hp.com/en/B2355-60127/pwconv.1M.html

Regards!

...JRF...
Regards!

...JRF...
Vishu
Trusted Contributor

Re: Merging of Passwd and shadow file

Thanks JRF..

I will install that Bundle and then try to run the pwconv command.

Closing this thread as of now.