Qual arquivo de log será gravado quando o nome do host for alterado?
Nenhum.
There is no file that contains this history. Perhaps you may be able to pull it out of syslog, but you're going to have to go searching for it.
Fonte O nome do host muda o histórico em sistemas unix , responde por EEAA
E:
Have a look at these files:
/etc/hostname /etc/hosts /etc/ssh/ssh_host_*_key.pub $HOME/.ssh/id_*.pub
In these typically the host name appears and it might be still unchanged by your renaming action (however you did that).
Also these might contain the old name:
/var/log/Xorg.failsafe.log /var/log/auth.log.1 /var/log/pm-suspend.log.1 /var/log/Xorg.1.log.old /var/log/lightdm/x-0.log /var/log/lightdm/x-1.log /var/log/lightdm/x-2.log /var/log/pm-suspend.log /var/log/Xorg.0.log.old /var/log/Xorg.1.log /var/log/syslog /var/log/Xorg.2.log /var/log/auth.log /var/log/kern.log.1 /var/log/kern.log /var/log/Xorg.failsafe.log.old /var/log/syslog.1 /var/log/Xorg.0.log
Source Como obter o hostname anterior do meu sistema linux? , responder por Alfe