At 1/30/2002 05:02 PM -0600, you wrote:
>Don't reboot. Reboot is for Windoze and kernel upgrades.
>
>service network restart

IIRC, this command will not affect the hostname, since that is set by the 
rc.local script, using the "hostname" command and looking up the entry in 
/etc/sysconfig/network. rc.local only runs when you reboot or when you 
change init levels; restarting the network isn't going to do a damn thing.

If you want to change the hostname *now*, do this:

1. Change it in /etc/sysconfig/network.

2. Change it in /etc/hosts.

3. Issue the command "hostname host.domain.com".

Now it's done and will also be remembered at next boot.


-- 
Rodolfo J. Paiz
[EMAIL PROTECTED]



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to