Ask the Expert

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?

    Requires Free Membership to View

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

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
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
Sort by: OldestNewest

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: