TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:6618] hostname??



Of course, the old sysadmin-ducttape approach:

%`hostname "yourhostnamehere"`

or the brute force hammer approach:

%`echo "yourhostnamehere" > /etc/HOSTNAME`

Peter Lukas

On Wed, 23 Jun 1999, Hairie wrote:

> Tq very much John J. Tramel, it works.....
> 
> ----------
> > From: John J. Trammell <trammell@nitz.hep.umn.edu>
> > To: tclug-list@listserv.real-time.com
> > Subject: Re: [TCLUG:6618] hostname??
> > Date: Monday, June 21, 1999 2:35 PM
> > 
> > Hello "Hairie" <hairie7@tm.net.my>:
> > 
> > > Do you all guys here know how I would like to change the HOSTNAME
> > > to any names I like.  in my .bash_profile know I've set
> > > HOSTNAME=`hostname` but the system only read my hostname as
> > > "localhost.localdomain". If I'm setting my hostname using this
> > > command "hostname Linux" it just appear at that time only but if
> > > I'm reboot the system it will recognized my system as
> > > localhost.localdomain after that?? Do you guys have any idea about
> > > this??
> > 
> > On RedHat systems, this is configured in file "/etc/sysconfig/network".
> > Change the line that says 'HOSTNAME=localhost.localdomain' to the name
> > you want.
> > 
> > Regards,
> > John
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tclug-list-unsubscribe@mn-linux.org
> > For additional commands, e-mail: tclug-list-help@mn-linux.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tclug-list-unsubscribe@mn-linux.org
> For additional commands, e-mail: tclug-list-help@mn-linux.org
> 
>