Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jun 2006 08:15:49 -0400
From:      Bill Moran <wmoran@collaborativefusion.com>
To:        "Gary" <gary@pattersonsoftware.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Process for cloning freebsd
Message-ID:  <20060614081549.b9da6990.wmoran@collaborativefusion.com>
In-Reply-To: <000001c68fa7$f5f96330$1f01a8c0@tosh>
References:  <000001c68fa7$f5f96330$1f01a8c0@tosh>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
In response to "Gary" <gary@pattersonsoftware.com>:
> 
> I intend to clone a master freebsd box (6.1-stable) so that I can roll boxes
> as fast as possible. These won't be identical machines btw. This comes up
> from time to time, but I wanted to specifically check security concerns and
> other things.
> 
> What sensitive information may be copied that must be removed/regenerated?
> For example, ssh keys. How would these be regenerated (like the screenful of
> junk with a new install)?

/etc/rc.d/sshd has the commands that are used to accomplish that.  It's
just making sure there is enough entropy in /dev/random, then using
ssh-keygen.

> Are there any other similar security issues? How about any other unexpected
> problems? I'm thinking I only need to change the hostname

I've done this -- haven't had any problems that I can remember.

> I was planning to Ghost the harddrives.

Anything that allows you duplicate the HDD will work.

-- 
Bill Moran
Collaborative Fusion Inc.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20060614081549.b9da6990.wmoran>