For Red-Hat systems, you just need to edit /etc/sysconfig/network. At the
time of start-up, rc.sysinit reads HOSTNAME varaible from this file and
runs hostname command to set it.
# Set the hostname.
action $"Setting hostname ${HOSTNAME}: " hostname ${HOSTNAME}
$HOSTNAME is read from /etc/sysconfig/network.
Manu
Supreet Sethi <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
01/22/2004 03:37 PM
Please respond to "GNU/Linux Users Group, Mumbai, India"
To: "GNU/Linux Users Group, Mumbai, India"
<[EMAIL PROTECTED]>
cc:
Subject: Re: [ILUG-BOM] Re: Problem with setting hostname.
Slackware stores in hostname file in /etc.
It really depends on rc files which load up the system.
Debian picks the hostname from /etc/hosts
RedHat most Windows Registry compliant of them all has it is Windows
.ini file style in /etc/sysconfig/network
Supreet
On Thu, 2004-01-22 at 12:08, [EMAIL PROTECTED] wrote:
> Philip S Tellis writes:
>
> > Sometime Today, q u a s i assembled some asciibets to say:
> >
> >> > use the hostname command.
> >>
> >> or edit /etc/hostname
> >
> > no, use the hostname command. /etc/hostname is not the only place
where
> > the hostname is stored.
>
> I was unaware of this - pray can I know where else the hostname is
stored on
> various GNU/Linux distributions ?
--
http://mm.ilug-bom.org.in/mailman/listinfo/linuxers
--
http://mm.ilug-bom.org.in/mailman/listinfo/linuxers