SUMMARY: Moving /etc/passwd to another machine

From: Mike Evans (mevans@inficad.com)
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
:)

reloftin@syr.edu
wolt@igd.fhg.de
jbwendl@bnpcn.com
phooper@nebs.com
uroy@eadev1.vanguard.com
gfranczyk@carbomedics.com
rkoshy@xl.com
tfiedler@yahoo.com
jimr@lucent.com
DJEVANS@au.oracle.com
HermanY@bsci.com
Dean.Drake@PSS.Boeing.com
matam@meritorauto.com
barmand@cyberramp.net
dharringt@deq.state.va.us
greg_polanski@adc.com
djohnson@nbserv1.rsc.raytheon.com
weekleyj@inlink.com
taosmtn2@SLAC.Stanford.EDU
uvisth01@shafika.vetri.com
tmwilkin@mail.com
rtrzaska@uk.mdis.com
sun@openbsd.de
Justin.Stringfellow@barclays.co.uk
croten@ssofa.com
eslingc@atd.sprintcorp.com
wstuart@osagemn.com
neal@ee.pdx.edu

Original Message:
Guru's,

    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