LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-23-2005, 10:08 PM   #1
chrisfirestar
Member
 
Registered: Sep 2003
Location: Adelaide, Australia
Distribution: Fedora/RH
Posts: 231

Rep: Reputation: 30
Migrating Unix Users and Folders


Hi everyone,

I am migrating users and their files from an old box (rh 7 i think) to a new debian install but we have over 200 users and dont want to be calling each one to inform them their password have changed any ideas how to migrate the users/passwords over?

Thanks in Advance
 
Old 09-24-2005, 04:20 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you should have no problems just copying across the encrypted password strings from/etc/shadow. You could use awk to pull out all entries from /etc/passwd with uid's in your user range, 500 to 1000 or whatever and get their equivalent shadow entries too. If this is a one off job though, manual cutting and pasting would be more appropriate. as long as you don't end up adding duplicate UID's you can get away with pasting those extra lines into the relevant files on the new systems. you shouls also be able to simply copy across the contents of /home/
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
The different *unix folders :S kevingpo Linux - Newbie 3 06-26-2005 10:58 PM
migrating users evilchild Debian 9 04-03-2005 06:28 PM
Migrating machine users to virtual users p_penduko Linux - General 2 11-04-2004 07:37 AM
migrating unix mail to linux karwoski Linux - Software 1 12-04-2003 10:56 PM
Why did you experienced users of Unix change to unix over Windows? Laptop2250 Linux - General 11 10-28-2003 11:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:16 AM.

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
Open Source Consulting | Domain Registration