On Mon, Jul 12, 2004 at 05:57:16PM -0400, * Tong* wrote: >Hi, > >Quick question how to change hostname under debian? > >I changed my /etc/hosts >from >127.0.0.1 cxmr localhost >to >127.0.0.1 cxmr.dyndns.org localhost > >but why my hostname is still reporting merely 'cxmr'? How to fix it? >(Surely I've rebooted).
Run 'hostname -fqdn' and see if you FQDN is what you actually want :-) Also, I would have modified the line to say the following: 127.0.0.1 cxmr.dyndns.org cxmr localhost Maybe that's unnecessary, I don't know. /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ Intellectual property (IP) has been driving the species for some five million years. In the past 100 or so years, it's increasingly been saddled with the chore of lining the pockets of middlemen and parasites who, sans this lining, would lack sufficient intellect to open a can of beer. -- Tom Matrullo
signature.asc
Description: Digital signature