LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 06-26-2008, 09:57 AM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 73
Migrating Users To New Server


So we have obtained all new servers for our email server. We are also looking to move from RHEL 4 to Debian as our email platform and we are worried about losing users local password. I thought about simply importing the /etc/passwd /etc/shadow /etc/group, & /etc/gshadow to the new Debian machine however this worries me as many of the UID and GID of application services don't match and could possibly break something. I don't want to impact any of the service accounts but just the local users.

Do you guys have any suggestions?
 
Old 06-26-2008, 10:35 AM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
Look in the /etc/login.defs file. It should give the range of user and system UIDs & GIDs. I don't know where Debian starts the UIDs. Fedora starts them at 500. SuSE at 1000. You could use awk to filter out the system ID's based on the UID number. If the regular UID range differs, it may be better to simply change the range on the Debian machine then changing the UIDs of the users files.
 
Old 06-26-2008, 11:14 AM   #3
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 73
Debian looks to start their range of uid's at 1000 and I assume the gid's match that of uid's.
 
  


Reply


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
Migrating passwords and users rbizzell *BSD 2 08-23-2006 11:38 AM
Migrating Unix Users and Folders chrisfirestar Linux - General 1 09-24-2005 05:20 AM
migrating users evilchild Debian 9 04-03-2005 07:28 PM
Migrating machine users to virtual users p_penduko Linux - General 2 11-04-2004 08:37 AM
Migrating users and homes to new server anthonykirk Linux - Hardware 3 06-11-2004 04:18 PM


All times are GMT -5. The time now is 08:14 PM.

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