Re: Changing the host name
-BEGIN PGP SIGNED MESSAGE- Hi, On Tue, 24 Jun 1997, Nils Rennebarth wrote: > What did the trick for me: > > 1) change /etc/hostname then say >hostname --file /etc/hostname > 2) change IP-address entry in /etc/hosts > 3) rerun sendmailconfig > 4) change /etc/resolv.conf if domain changed too > 5) change /etc/mailname > (Did I forget something?) I believe you should "/etc/init.d/sysklogd restart" so that files like /var/adm/messages and others change consequently - ---[/var/adm/messages] Jun 15 00:36:51 debian pppd[20619]: Terminating on signal 15. Jun 15 00:36:57 debian pppd[20619]: Connection terminated. Jun 15 00:36:58 debian pppd[20619]: Exit. Jun 15 01:52:38 debian syslogd: exiting on signal 15 Jun 15 01:52:40 belsebub syslogd 1.3-0#11: restart. Jun 15 01:52:40 belsebub kernel: klogd 1.3-0, log source = /proc/kmsg started. Jun 15 01:52:42 belsebub kernel: Loaded 2650 symbols from /System.map. - -- > No reboot is necessary. no, you're right :) agur, txakar == -BEGIN PGP SIGNATURE- Version: 2.6.3i Charset: latin1 Comment: Public key -> http://www.redestb.es/personal/inakitxu/linux.html iQCVAwUBM7KXfEghrGduKruBAQHA4wP/flXtA/4pLMO1MIf7xwdS2aPFAbLkJE7y Lc8eTSiafguxEgTLobrAujrogBc8I5bELRCp+UtwpFAbpI3ezwd6xIEGs6rK1SDn y7hD+A19YmsB2YSEKhkC4gUMhqasYvoHpGKesxmv9gHZVj7nYDJ76Y7DHoWJLbko /39u3fUjebs= =48L0 -END PGP SIGNATURE- -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Changing the host name
-BEGIN PGP SIGNED MESSAGE- On Mon, 23 Jun 1997, Rick Hawkins wrote: >> I'm trying to figure out how to change the hostname manually. I did the >> command hostname , and I went into /etc/hosts and replace the >> old hostname with the new one. Is it anything other command or file that >> I need to edit to conpletelly change the hostname?? I also noticed that >> the login prompt and shell prompt still display the old name. > >/etc/hostname, too . . . and then i think (not sure) you neet a reboot >or midnight to pass. What did the trick for me: 1) change /etc/hostname then say hostname --file /etc/hostname 2) change IP-address entry in /etc/hosts 3) rerun sendmailconfig 4) change /etc/resolv.conf if domain changed too 5) change /etc/mailname (Did I forget something?) No reboot is necessary. Nils - -- \ /| Nils Rennebarth --* WINDOWS 42 *-- | Schillerstr. 61 / \| 37083 Göttingen | ++49-551-71626 Micro$oft's final answer | http://www.nus.de/~nils -BEGIN PGP SIGNATURE- Version: 2.6.3i Charset: noconv iQB1AwUBM6/aDlptA0IhBm0NAQFligL/VZvxd/YH3TLqGK0WmQrqIox4IfJAG9fp /3Nk43PEeGqsbYcjddKR8XgiXhYtDkjfaJ7FxwKVmVyza21SzM0cOnhBDSJo1ZAh JN01hYVP+vB3KkFtlG+5c1R6t0IZdvpx =dOLW -END PGP SIGNATURE- -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Changing the host name
Rick Hawkins <[EMAIL PROTECTED]> writes: > /etc/hostname, too . . . and then i think (not sure) you neet a reboot > or midnight to pass. This can be a tricky operation. You'll have to change every config file that has cached the hostname. I'm specifically thinking of things like the sendmail config file. -- Rob -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Changing the host name
> I'm trying to figure out how to change the hostname manually. I did the > command hostname , and I went into /etc/hosts and replace the > old hostname with the new one. Is it anything other command or file that > I need to edit to conpletelly change the hostname?? I also noticed that > the login prompt and shell prompt still display the old name. /etc/hostname, too . . . and then i think (not sure) you neet a reboot or midnight to pass. rick -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Changing the host name
I'm trying to figure out how to change the hostname manually. I did the command hostname , and I went into /etc/hosts and replace the old hostname with the new one. Is it anything other command or file that I need to edit to conpletelly change the hostname?? I also noticed that the login prompt and shell prompt still display the old name. Alberto Ruiz [EMAIL PROTECTED] -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .