Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Let's say I'm cloning a virtual machine containing a Linux server.

What would you advice to change in the clone? I know - it's kind of vague and depends on what services ware installed on linux but maybe you can throw some ideas?

Right now I change:

  • MAC addresses of virtual interfaces [in fact VMware does it for me]
  • re-generate SSH certificates [including host certificates - rm /etc/ssh/ssh_host*; dpkg-reconfigure openssh-server in the Debian world]
  • change the hostname

What more?


locked by HopelessN00b Apr 1 '15 at 18:09

This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. This question and its answers are frozen and cannot be changed. More info: help center.

closed as too broad by HopelessN00b Apr 1 '15 at 18:08

There are either too many possible answers, or good answers would be too long for this format. Please add details to narrow the answer set or to isolate an issue that can be answered in a few paragraphs.If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 10 down vote accepted
  • root password change is implied with the "ssh certificates change", I guess
  • other certificates: Mail TLS/SSL, Webserver (Apache?) SSL, known-hosts ssh files, other authentification information (Backups? cron-jobs? fetchmail? FTP and ftpd? special repositories (Debian)?
  • ip address and routing information (well, depends on the location of the vm, sounds like you just cloned a vm which stays at the same Host-system so it might not be relevant here)
  • monitoring: snmpd credentials, maybe automatic data-gathering from other systems?
  • add/remove users (and/or their passwords/home-dirs/...)
  • Backup procedure
  • documentation ;)

You also might want to set on other systems: reverse-dns entries, dns/static routes, update firewall, update central monitoring/syslog...

better answer than mine though :) – Razique Sep 8 '09 at 15:32
thank you! :) – brengo Sep 8 '09 at 15:37

sys-unconfig (in RHEL) will do it all for you

Never seen that command. I'll have to try it. – ewwhite Nov 23 '12 at 12:34

1- Change root password for better security ?


Not the answer you're looking for? Browse other questions tagged or ask your own question.