[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Consquences of changing hostname



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 23 November 2002 14:28, Robert Ian Smit wrote:
> I am used to leaving "Enter domainname" blank when I install Debian.
>
> So all my systems are called something like box1 or box2.
>
> I want to add to this name so it becomes box1.foo.domain.
>
> I have searched through /etc and i have found a couple of files that
> reflect the hostname of the machine.
>
> Can I update these files to the new name? I am most worried about the
> exim and ssh(d) configuration? Exim for obvious reasons, and ssh for
> fear of being locked out of remote systems (I use key pair
> authentication and don't want to get on a bus to reset public keys.)

I'm switching between two hostnames frequently just by changing 
/etc/hostname (and calling /etc/init.d/hostname.sh afterwards) and I 
haven't encountered problems so far. Even SSH doesn't seem to mind, 
even though I'm using a keypair generated for one name for both.

- -- 
Embedded Linux -- True multitasking!
TWO TOASTS AT THE SAME TIME!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE934VmeOF0+zcVdv8RAlS0AJsEoFusFloJIFm9zSFhk3bRCaaEywCgotq/
miwQ9QhnnW3gWwWDNn5j6kE=
=QTrY
-----END PGP SIGNATURE-----



Reply to: