Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 261
  • Last Modified:

Can a password file be copied from one linux machine to another?



I have created a new email server to replace the existing email server.  This server is using Centos (a free Red Hat Enterprise clone)  The original server was purchased preconfigured and is using sendmail.  The new server is configured with postfix.

On the new server, I have created the same user accounts as appears on the mail server.  Ideally, I would like to be able to copy the password file from the existing mail server and install in on the new server so that all users will be able to use their existing passwords.  

Any thoughts?
0
TangledTech
Asked:
TangledTech
  • 2
1 Solution
 
xDamoxCommented:
Hi,

Does your new mail server auth with /etc/passwd and /etc/shadow if so just copy these two files from your
old server.
0
 
TangledTechAuthor Commented:
I believe so, but how so I confirm.

0
 
xDamoxCommented:
Hi,

If you dont use LDAP I am pritty sure it will be the /etc/passwd /etc/shadow files just copy them over
also check through the /etc/passwd file for users you dont want anymore
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

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