Re: HOSTNAME

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

 



On Wednesday 01 September 2004 13:53, Paul Howarth wrote:
> Chadley Wilson wrote:
> > On Wednesday 01 September 2004 13:35, malik malik wrote:
> >>goto start > system settings > network
> >>
> >>there select DNS tab and enter ur hostname.
> >
> > Sorry man, I know about that one, I was actually referring to the
> > physical file as I don't have a gui on the server. Some linux distro's
> > keep it in a file called /etc/HOSTNAME but were is it set in fedora 1?
>
> A good place to look for such things is /etc/sysconfig :
>
> $ fgrep -i hostname /etc/sysconfig/*
> fgrep: /etc/sysconfig/iptables-config: Permission denied
> /etc/sysconfig/network:HOSTNAME=localhost.localdomain
>
> Paul.

mmm I have a very strange system here? there is nothing in /etc/hosts 
and /etc/network  other than localhost.localdomain.
but I still have  a hostname that won't change back to localhost.
I will just have to add it to rc.local 
thanks guys 
I just thought there was another place? 
-- 
Chadley Wilson
Production Line Supervisor
Pinnacle Micro
Manufacturers of Proline Computers
====================================
Exercise freedom, Use LINUX
=====================================



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux