You shouldn't have to reboot after changing it, just logout. Do the hostname new_hostname after changing it in the network file.
Also, # just means to execute it, it doesn't mean you need to use service, you can ignore it.
Re: Please pardon another dumb question, but Where do you "run" "# service network restart"?
Run it at a command prompt, ssh in, type root, hit enter, type password, hit enter, then type
"service network restart" without the quotes.
Richard
At 09:16 AM 7/16/2003 -0400, you wrote:
Subject : Re: Change hostname [Re:RHLv1#8131]
*==}- Scott; Thank-you for asking this. I sometimes think it's the simple questions that most need answering, In this case, I think I should add this thread to my cribnotes file... *==}- Richard; Pardon me for asking a dumb question, but when you say "set the hostname with hostname new_hostname" do I understand that you would only need to do this after editing the /etc/sysconfig/network file, IF you were NOT rebooting Like Jacques suggested? *==}- Bill: Please pardon another dumb question, but Where do you "run" "# service network restart"? Does the "#" signify execute the "service" command at the root prompt? I tried "$ man service" yeild: "No manual entry for service" Of course, since I'm running a PERSONAL-use PC with dial-up PPP perhaps the service command is part of a package I'd have installed if I had a fully qualified domain name?
-- ? ?
-=- -=- I'm NOT clueless... <?> <?> But I just don't know. ^ Joe (theWordy) Philbrook --- J(tWdy)P <[EMAIL PROTECTED]> ? ?
- - - - - - - - -< s n i p >- - - - - - - - - -
> Change hostname (Scott Antonivich) > His is going to sound like a very simple question...so I > apologize to those who know RH backwards and forwards. I have > a standard RH9 install. It is running web,dns,mysql and postfix. > During the installation process it asked for the hostname of > the computer. I now want to change it. Where should I change it? > I changed it already in /etc/hosts and /etc/resolve > But when I try to send email-snip-The recipient server is > still showing the OLD hostname. What am I missing? > Scott
> Re: Change hostname (Richard Bewley) > Hi, > Be sure to change it in /etc/sysconfig/network as well. I > would also set the hostname with hostname new_hostname also. > Thank you, > Richard Bewley
> Re: Change hostname (Jacques Lederer) > On RH 7.3, it's in /etc/sysconfig/network that you have to > change the hostname. And then you still have to logout and > log back in before it is visible... Hope this helps... > Jack
> Re: Change hostname (Bill Tangren) > Don't need to log out. Simply run > # service network restart > Bill
-- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list --- [This E-mail scanned for viruses by friend.ly.net.]
--- [This E-mail scanned for viruses by friend.ly.net.]
-- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list