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

Re: Changing the name of my computer



On Wed, Jan 07, 2004 at 03:53:04PM -0500, Emma Jane Hogbin wrote:
> On Wed, Jan 07, 2004 at 06:53:28PM +0000, Tendril wrote:
> > ie. my computer is called achilles and I would like to change it to 
> > something else. I would look in the help files, but I don't know what 
> > this process is called.
> 
> I did this recently... I changed the following files:
> 	/etc/hosts
> 	/etc/hostname
> 	/etc/postfix/main.cf # obviously only if you're using postfix

...similarly /etc/exim/exim.conf if you're using exim. I don't know if there
exists a list somewhere of all the config files that your machine name might
find its way into. It might be useful to do something like:

for x in `find /etc -name '*'`; do grep achilles $x > /dev/null 2>&1 && echo $x; done

just to make sure you've caught everything.

-- 
Pigeon

Be kind to pigeons
Get my GPG key here: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x21C61F7F

Attachment: pgpKIUC5jPdbm.pgp
Description: PGP signature


Reply to: