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

Chris Picton chrisp at tangent.co.za
Mon May 19 11:30:38 UTC 2003


service syslog restart
service httpd restart
service smb restart
etc


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/
-- 
---------------------+--------------------------------------------------
        Chris Picton | PGP Key ID: 9D28A988 (wwwkeys.pgp.net)
 Solutions Developer | PGP Key Fingerprint:
     Tangent Systems | 2B46 29EA D530 79EC D9EA 3ED0 229D 6DD6 9D28 A988
chrisp at tangent.co.za | http://www.tangent.co.za/keys/chrisp.asc
---------------------+--------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: This is a digitally signed message part
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20030519/7225038f/attachment.pgp>


More information about the GLLUG mailing list