[Webinar] Streamline your web hosting managementRegister Today

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 218
  • Last Modified:

Moving User Accounts from different servers

I currently have an old FTP server.  I am trying to replace
this FTP server with a new one.  How can I move user/group accounts from the old server to the new one and preserve it's security rights and password info?  I am trying to stay away from re-creating all 250 user/group accounts.
1 Solution
You can copy /etc/passwd, /etc/shadow, and user home directory to new machine!!! it easy.
I believe this is correct if shadow passwords are enabled on the system (a good idea).  If you don't have an /etc/shadow file, just copy the rest, and yes, in theory, it will work.

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now