Results 1 to 3 of 3
Hi !!!I had given my computer a name when I installed red hat 8. But now the name has switched back to localhost and I have no clue how. How ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-08-2003 #1Just Joined!
- Join Date
- Aug 2003
- Posts
- 8
Changing computer name
Hi !!!I had given my computer a name when I installed red hat 8. But now the name has switched back to localhost and I have no clue how. How do I revert back to the old name or change the name of the computer ???
- 11-08-2003 #2
try open this file: /etc/sysconfig/network
it should contain something like
I think you should change the name in these files too: (iirc the host file must be change or else sendmail can take a year to start at boot time)Code:NETWORKING=yes HOSTNAME=computername
/etc/hosts
/etc/HOSTNAME
I think you should reboot you computer after changing.Regards Scienitca (registered user #335819 - http://counter.li.org )
--
A master is nothing more than a student who knows something of which he can teach to other students.
- 11-10-2003 #3Linux Engineer
- Join Date
- Apr 2003
- Location
- Sweden
- Posts
- 796
You dont have to reboot. execute hostname <and your computername> to set the hostname now. /etc/sysconfig/network will be parsed on next boot.
Regards
Andutt


Reply With Quote
