Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-29-2004, 08:29 PM   #1
LQ Newbie
Registered: Aug 2003
Distribution: RedHat 7.3
Posts: 6

Rep: Reputation: 0
Question 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 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.
Old 05-25-2004, 06:00 AM   #2
LQ Newbie
Registered: May 2004
Location: Bucharest, Romania
Distribution: Linux Slackware 9.1
Posts: 14

Rep: Reputation: 0
Isn't sufficient to copy /etc/group, /etc/shadow /home/* files and directories ?
Old 05-25-2004, 09:18 AM   #3
LQ Newbie
Registered: Aug 2003
Distribution: RedHat 7.3
Posts: 6

Original Poster
Rep: Reputation: 0
That's what I'd like to know, I'm pretty sure it is, can anyone confirm?
Old 05-25-2004, 01:03 PM   #4
Registered: Aug 2003
Distribution: windows xp home, windows 98, red hat 9, fedora core 3, redhat enterprise linux, win2000 pro/server
Posts: 217

Rep: Reputation: 32
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba Users & Groups Privileges Bilal84 Linux - Networking 3 10-11-2005 09:31 AM
users and groups twb2005 Red Hat 1 10-10-2005 02:47 PM
users & groups evilDOTnet Fedora 2 06-03-2005 06:17 PM
Backup & Restore Groups and Users jorasmi Slackware 2 03-28-2005 03:24 AM
Groups & Users Obie Linux - Security 3 08-16-2004 05:30 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:14 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration