[nlug] Customer hardware upgrade

2013-06-21 Thread Howard White
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

Re: [nlug] Customer hardware upgrade

2013-06-21 Thread Curt Lundgren
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

Re: [nlug] Customer hardware upgrade

2013-06-21 Thread Tilghman Lesher
They should be portable, yes, although the reverse is not necessarily true. The algorithm used for the hash is encoded as the first few characters, so as long as there is library support for that hash (i.e. it was not removed because the algorithm was shown to be insecure), you should be fine.

Re: [nlug] Customer hardware upgrade

2013-06-21 Thread Sabuj Pattanayek
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

Re: [nlug] Customer hardware upgrade

2013-06-21 Thread Jon Moore
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

Re: [nlug] Customer hardware upgrade

2013-06-21 Thread Howard White
On 06/21/2013 10:07 AM, Jon Moore wrote: 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,

Re: [nlug] Customer hardware upgrade

2013-06-21 Thread Jon Moore
Howard, I tend to stay away from webmin most of the time. I find it gets in the way and causes more trouble then it's worth most of the time. However, in this case, it proves to be useful. The import function is the Batch File in the Users and Groups module under System. A bit more detail on