Re: change hostname on Debian box

Page principale
Attachements:
Message en tant que courrier électronique
+ (text/plain)
+ (application/pgp-signature)
Supprimer ce message
Répondre à ce message
Auteur: Bill Jonas
Date:  
À: PLUG
Sujet: Re: change hostname on Debian box
On Fri, Mar 05, 2004 at 11:32:30AM -0700, wrote:
> If I want to use a fqdn hostname.domainname.com instead of just hostname
> can I just place that in /etc/hostname or do I need to do something else
> to use a fqdn?


On a Debian machine, generally you put just the hostname in
/etc/hostname and the FQDN in /etc/hosts. You'll probably want to edit
/etc/mailname, too, since you're running an MTA.

-- 
Bill Jonas    *        *    http://www.billjonas.com/
"It's a dangerous business, Frodo, going out your front door.  You step
into the Road,  and if you don't keep your feet,  there  is  no knowing
where you might be swept off to."  --  Bilbo Baggins