Q

Transfer username and password from Unix to Linux

Can you tell me how to transfer username and password from Sun 0S 5.9 to Red Hat Linux 9?
In a nutshell, Unix uses /etc/passwd and Linux uses /etc/shadow. I have never tried to copy over /etc/passwd /etc/shadow, and I would not do so unless you don't mind losing your machine completely if something goes haywire, as I don't believe it will work. Use pwconv, as this will convert the passwd files to shadow files, allowing you to migrate them to Linux. Here's a link on using pwconv.
This was last published in May 2005

Dig Deeper on Unix-to-Linux migration

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

SearchServerVirtualization

SearchCloudComputing

SearchEnterpriseDesktop

Close