I have moved user and group information between a RH6 (yes, Red Hat 6, not
RHEL... the old stuff) and a CentOS 5 system.  That same user/group info
was ported again from CentOS 5 to CentOS 6.  What I did was simply move the
/etc/passwd, /etc/shadow, /etc/groups and /etc/gshadow file from one system
to the other. Basically followed this process

1.  Copy all files someone else
2.  Edit to remove UID's between 500 and there were a few above 65533
3.  cat'd those files to the new systems files (cat passwd.org >>
/etc/passwd kind of thing)
4.  Mostly profited..

This gave me the users, but nothing else.

I ended up installing webmin on the new system, doing a bit of tweaking to
the /etc/passwd from the source server, and using webmin's import feature
to create all the user accounts.  It worked out fairly well.  I'd be glad
to go into more useful detail if you wish.

On a side note, I've decided it's time to look into LDAP to avoid just this
problems..


On Fri, Jun 21, 2013 at 10:00 AM, Curt Lundgren <verif...@gmail.com> wrote:

> Certainly the password hash is different in v6 (longer hashes, presumably
> more secure), the question is, can version 6 work with a version 5 shadow
> file?  I don't see /etc/passwd as a problem moving between the two versions.
>
> Curt
>
>
> On Fri, Jun 21, 2013 at 9:52 AM, Howard White <hwh...@vcch.com> wrote:
>
>> Does anyone have a link to a howto on taking a /etc/passwd, /etc/shadow
>> and the group equivalents from a CentOS 5 to a CentOS 6 system.  Working on
>> a customer hardware, op sys upgrade cycle.  There aren't sooo many user
>> logins as to be impossible but it would be nice to copy them over and
>> adjust as necessary.
>>
>> My google foo is weak again today.
>>
>> Howard
>>
>> --
>> --
>> You received this message because you are subscribed to the Google Groups
>> "NLUG" group.
>> To post to this group, send email to nlug-talk@googlegroups.com
>> To unsubscribe from this group, send email to nlug-talk+unsubscribe@**
>> googlegroups.com <nlug-talk%2bunsubscr...@googlegroups.com>
>> For more options, visit this group at http://groups.google.com/**
>> group/nlug-talk?hl=en <http://groups.google.com/group/nlug-talk?hl=en>
>>
>> --- You received this message because you are subscribed to the Google
>> Groups "NLUG" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to 
>> nlug-talk+unsubscribe@**googlegroups.com<nlug-talk%2bunsubscr...@googlegroups.com>
>> .
>> For more options, visit 
>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>> .
>>
>>
>>
>  --
> --
> You received this message because you are subscribed to the Google Groups
> "NLUG" group.
> To post to this group, send email to nlug-talk@googlegroups.com
> To unsubscribe from this group, send email to
> nlug-talk+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/nlug-talk?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "NLUG" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to nlug-talk+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To post to this group, send email to nlug-talk@googlegroups.com
To unsubscribe from this group, send email to 
nlug-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nlug-talk+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to