SUMMARY: Moving /etc/passwd to another machine

From: Mike Evans (
Date: Mon Mar 08 1999 - 14:15:25 CST

Sorry it took so long to summarize.

Summary: If both machines are shadowed, then just "cut and paste" the
relevant fields in /etc/passwd and /etc/shadow from the Sun box to the
Redhat box. If the users are in groups, then make sure the group file is
updated as well, and make sure the home dir's perms are set. If the
Redhat machine is not shadowed, just use "pwconv" and shadow it.

It was a pretty simple solution. My only concern was the encrypted
string would be different on different machines, but the consensus was
that the crytpt function works the same on all Unix machines.

The List: Thanks to all that replied helped me clear up the ambiguity

Original Message:

    I've looked thorugh the archives and FAQ a bit and can't seem to
find what I'm looking for exactly.

Machine1: Sparc 5
OS1: Solaris 2.5.1
Machine2: AMD K6-266
OS2: Redhat Linux 5.2 [ver no. edited]

I need to move a the /etc/passwd file from one machine to another. The
originating machine is the Solaris box. The catch is I don't want to
have to make the users reset their passwords. I'm not runnin NIS, so I
basically just want to move the user's accounts off the Solaris box for
a time. how can I do this?

Thanks in advance. I hope I gave enough information.

Mike Evans

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:16 CDT