LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 11-17-2006, 04:01 PM   #1
kc2005
LQ Newbie
 
Registered: Apr 2006
Posts: 2

Rep: Reputation: 0
Upgrading the distribution and saving the user profiles/passwords


Dear All,

I am using FC5, and was considering an upgrade to FC6. However, I would like to save the user profiles, and want to avoid asking the users to change passwords. Could you advise me on the process to migrate users and passwords? Do I just move the home folders, /etc/passwd and /etc/shadow files or would the hash values not match?

Help will be appreciated!
 
Old 11-17-2006, 08:03 PM   #2
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Since you're using the same distro, I would assume you can just copy directly the /etc/shadow, /etc/passwd/ and /etc/group file, along with the /home, and overwrite the originals. I'm sure there's some way to append the files , but I do not know how.

I read that you should FIRST copy the /etc/group file, then go ahead and copy the rest.
 
Old 11-18-2006, 01:30 AM   #3
kc2005
LQ Newbie
 
Registered: Apr 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Micro420
Since you're using the same distro, I would assume you can just copy directly the /etc/shadow, /etc/passwd/ and /etc/group file, along with the /home, and overwrite the originals. I'm sure there's some way to append the files , but I do not know how.

I read that you should FIRST copy the /etc/group file, then go ahead and copy the rest.
Thanks for the hints. I'll give it a try. -KRS
 
  


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
user profiles Thanotos Slackware 15 03-14-2006 10:38 AM
Win XP not saving / uploading (or even downloading) profiles to / from samba PDC systemparadox Linux - Networking 4 05-10-2005 02:01 PM
Wireless profiles not saving np complete Linux - Wireless Networking 2 02-16-2005 04:32 PM
Network User profiles KHAAAN Linux - Networking 1 07-30-2004 04:34 PM
Is there a way to sync Samba passwords with linux user passwords MarleyGPN Linux - Networking 2 09-09-2003 10:59 AM


All times are GMT -5. The time now is 05:13 PM.

Main Menu
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