[Gllug] Changing hostname without rebooting

Daniel Andersson daniel at septum.org
Mon May 19 11:37:08 UTC 2003


maybe restart syslogd? or sshd?

/ d

----- Original Message ----- 
From: "Neil Fryer" <neil.fryer at 12snap.com>
To: "Gllug (E-mail)" <gllug at linux.co.uk>
Cc: "Glug (E-mail)" <glug at linux.org.za>
Sent: Monday, May 19, 2003 12:24 PM
Subject: [Gllug] Changing hostname without rebooting


> Hi All,
>
> I need to change the hostname on a server RH7.3, without rebooting the
box,
> not I have done:
>
> hostname -v LHR-UK-B-WALKERS-APP
>
> And edited /etc/sysconfig/network
>
> And then /etc/rc.d/init.d/network restart
>
> BUt the hostname has not changed in all places, for instance,
> /var/log/secure still shows the old hostname, how the hell do I get around
> this?
>
> Thanks
>
> _________________________________________
> Neil Fryer
> Systems Administrator
> 12Snap UK Ltd
> (w) +44 (0)20 7534 7322
> (m) +44 (0)7855 400 309
> *neil.fryer at 12snap.com
> ICQ#: 165011356
>
>
****************************************************************************
> ***
> Important.
> Confidentiality: This communication is intended for the above-named person
> and
> may be confidential and/or legally privileged. Any opinions expressed in
> this
> communication are not necessarily those of the company. If it has come to
> you
> in error you must take no action based on it, nor must you copy or show it
> to
> anyone; please delete/destroy and inform the sender immediately.
>
> Monitoring/Viruses
> 12Snap may monitor all incoming and outgoing emails in line with current
> legislation.  Although we have taken steps to ensure that this email and
> attachments are free from any virus, we advise that in keeping with good
> computing practice the recipient should ensure they are actually virus
free.
>
>
> -- 
> Gllug mailing list  -  Gllug at linux.co.uk
> http://list.ftech.net/mailman/listinfo/gllug
>



-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list