I recently changed the name of a computer, but I'm still getting messages in /var/log under the old name. I've changed

/etc/hostname
/etc/mailname
/etc/resolv.conf
/etc/exim/exim.conf

and ran hostname to change the name. I've also rebooted since that time.

A find+grep for the old name turned up hits in some Emacs stuff under /usr/share and /etc/emacs21, and the public keys in /etc/ssh.

Log files with the old name are

auth.log (sudo, su, sshd, cron(pam_unix))
daemon.log (identd, imapd, insmod, modprobe)
kern.log (kernel)
mail.log (imapd)
user.log (xfs)

What else do I need to change to get these programs to pick up the new name? Also, how do I generate public keys with the correct host name (or can I just edit the hostname in /etc/ssh/ssh_host_rsa_key.pub and /etc/ssh/ssh_host_dsa_key.pub)?

thanks,
Jeff


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to