LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-09-2005, 10:23 AM   #1
Seventh
Member
 
Registered: Dec 2003
Location: Boston, MA
Distribution: Redhat / Debian
Posts: 269

Rep: Reputation: 30
Moving user account info to a new server - advice please.


Hi all,

I've recently upgraded my main fileserver here at work to a newer machine with more resources, and I'm looking into cutting over to it within the next week.

I've never dealt with this before, so I apologize if it's simple, but I'm not sure on the best way to preserve the old user account database and it's associated file ownership permissions when I cut over to the new machine.

As far as files are concerned, I'm pretty sure that I can tar them up on the old server with the option to preserver numerical UID's, but as far as getting those UID's and passwords onto the new machine, I'm not sure how to proceed.

It's not as simple as copying over /etc/passwd, is it?

Thanks as always.
 
Old 03-09-2005, 10:35 AM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Not just /etc/password, here are a couple more I can think of.

/home/*
/etc/passwd
/etc/shadow
/etc/group
 
Old 03-09-2005, 10:38 AM   #3
wpn146
Member
 
Registered: Jan 2005
Distribution: Solaris, Linux Fedora Core 6
Posts: 170

Rep: Reputation: 30
Quote:
It's not as simple as copying over /etc/passwd, is it?
No it is not that simple. You need to copy /etc/shadow and /etc/group as well.
 
  


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
automatic user account creation in mail server kar11 Linux - Software 0 04-14-2004 12:55 AM
X with no desktop when VNC Server started from user account jboo Linux - General 1 02-04-2004 03:40 PM
moving user accounts to an NFS server esteeven Linux - Networking 1 08-28-2003 10:21 PM
moving user accounts to an NFS server esteeven Linux - Networking 3 08-28-2003 09:12 PM
mail server user account admin? bejamex Linux - Software 0 06-22-2003 10:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09: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