[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: changing hostname

On Friday 25 March 2005 15:47, Paul J. Lucas wrote:
>   If I want to change a host's name, I edit:
>    /etc/hostname
>    /etc/mailname
>    /etc/hosts
>   which I did, but 'uname -n' still prints the old hostname.  Is a
>   reboot necessary?

I have seen advice to reboot VERY soon after changing the system's hostname 
(which would include using the hostname command), lest bad things happen.  
I'm not sure how seriously I take that, given that you can restart most 
everything without rebooting, but it wouldn't hurt if you're unsure.


Reply to: