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

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchDataCenter

SearchServerVirtualization

SearchCloudComputing

SearchEnterpriseDesktop

Close