Link to home
Start Free TrialLog in
Avatar of TangledTech
TangledTech

asked on

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?
Avatar of xDamox
xDamox
Flag of United Kingdom of Great Britain and Northern Ireland image

Hi,

Does your new mail server auth with /etc/passwd and /etc/shadow if so just copy these two files from your
old server.
Avatar of TangledTech
TangledTech

ASKER

I believe so, but how so I confirm.

ASKER CERTIFIED SOLUTION
Avatar of xDamox
xDamox
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial