[Gllug] Re: [GLUG] Changing hostname without rebooting

Stefan Lesicnik lists at lsd.za.com
Mon May 19 11:38:07 UTC 2003


maybe its a variable?
try echo $HOSTNAME




On Mon, 2003-05-19 at 13:24, Neil Fryer wrote:
> 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.
> ---
> To unsubscribe: send the line "unsubscribe glug" in the subject of a
> mail to glug-request at linux.org.za. Problems: glug-admins at linux.org.za
> Archives at http://www.linux.org.za/Lists-Archives/
> 



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




More information about the GLLUG mailing list