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, /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
<http://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..
Jon,
Thank you very much for this response. I am reviewing the notes on
installing webmin. I've used it before but run rather hot and cold as
to its effectiveness - works sometimes, sometimes not. Seems very
distribution sensitive.
I'll need to look for the user account import function of which you
speak. This would be amplification that I need.
Howard
--
--
You received this message because you are subscribed to the Google Groups
"NLUG" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.