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 the important bits here. I still copied the /etc/shadow and /etc/gshadow from the source to the destination system, removing duplicate users and groups in the process. After that, I used the Webmin batch file to create all the users. Opening /etc/passwd in Libreoffice Calc or similar proved useful here, and allowed me to move the columns of data into the right order. Once that was done, I ran the batch first for the groups, then for the users. I recall their being a "Passwords and already encrypted" option in the batch file options, but I do not know if I used it or not. There was a lot of trial and error in this process. Would have been great if I took more notes during the process! Good luck! On Fri, Jun 21, 2013 at 10:16 AM, Howard White <[email protected]> wrote: > 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 nlug-talk+unsubscribe@** > googlegroups.com <nlug-talk%[email protected]> > 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%[email protected]> > . > 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 [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.
