LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Export Users & Groups (https://www.linuxquestions.org/questions/linux-newbie-8/export-users-and-groups-176126/)

BuRnInICE 04-29-2004 07:29 PM

Export Users & Groups
 
I have 2 Redhat 9 linux boxes.

One which is in desperate need of a format/reinstall. The one in desperate need of attention is a 7.3 Redhat upgraded to 9.0.

I have built a new seperate linux box using redhat 9. Which is ready for deployment. Except for the users and groups.

I use webmin on each box. In the users and groups menu on webmin on the new linux box I can use the export function. Though on the old box even though it's same version of redhat the option isn't there to export. Which is just typical :p Considering I need it to be the other way around.

What i'm looking for is an easy way to export the users and groups from my old linux box to my new box. I work at a school so there's about 2500 users to export.

Any ideas??

Thanks Guys.

cristiroma 05-25-2004 05:00 AM

Isn't sufficient to copy /etc/group, /etc/shadow /home/* files and directories ?

BuRnInICE 05-25-2004 08:18 AM

That's what I'd like to know, I'm pretty sure it is, can anyone confirm?

adamwenner 05-25-2004 12:03 PM

the question comes in system users, your best bet is to take just the users with user ids of 500 and over, the same with the groups

also copy the /etc/shadow for users you know, you might be best off just appending this file to the end of the /etc/shadow on the new machine


All times are GMT -5. The time now is 09:07 AM.