Re: changing linux hostname without rebooting
From: Tony (tonyw_at_suse.stanford.edu)
Date: 10/10/03
- Next message: David Efflandt: "Re: routing problem"
- Previous message: S. F. Thomas: "Re: Help! Cox Cable Modem and SMC Barricade Router"
- In reply to: Jim Fischer: "Re: changing linux hostname without rebooting"
- Next in thread: Leon The Peon: "Re: changing linux hostname without rebooting"
- Reply: Leon The Peon: "Re: changing linux hostname without rebooting"
- Reply: /dev/rob0: "Re: changing linux hostname without rebooting"
- Reply: Peter T. Breuer: "Re: changing linux hostname without rebooting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 9 Oct 2003 18:06:25 -0700
why couldnt someone just tell me this:
echo "newhostname" > /proc/sys/kernel/hostname
"Jim Fischer" <jfischer_link5809@now.here.com> wrote in message
news:1065739451.718200@cache5.usenetserver.com...
> Tony wrote:
> > How can I change the prompt of the linux hostname (REDHAT) without
rebooting
> >
> > I already changed /etc/hosts
>
> FWIW, I've noticed that various system startup scripts use the boot-time
> host name when configuring the system. And if you change the host name
> after the system has booted, some existing configuration settings
> continue to use the former (boot-time) host name, and not the new host
> name. (A typical example is the firewall settings.) So this is why the
> system should be rebooted (IMO) after the host name is changed.
>
> FWIW, on Red Hat 8/9 boxes, the host name should be specified via the
> GUI network configurator program within the X Windows environment:
>
> [root]# redhat-config-network
> # Click on the "DNS" tab
>
> This ensures the appropriate RH8/9 system config files are updated as
> needed. You should then reboot the system so that the startup scripts
> are re-run using the new host name.
>
> --
> Jim
>
> To reply by email, remove "link" and change "now.here" to "yahoo"
> jfischer_link5809{at}now.here.com
>
- Next message: David Efflandt: "Re: routing problem"
- Previous message: S. F. Thomas: "Re: Help! Cox Cable Modem and SMC Barricade Router"
- In reply to: Jim Fischer: "Re: changing linux hostname without rebooting"
- Next in thread: Leon The Peon: "Re: changing linux hostname without rebooting"
- Reply: Leon The Peon: "Re: changing linux hostname without rebooting"
- Reply: /dev/rob0: "Re: changing linux hostname without rebooting"
- Reply: Peter T. Breuer: "Re: changing linux hostname without rebooting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|