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

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.