You are not logged in.
Pages: 1
Ever since doing a system upgrade and rebooting a few hours ago, my hostname has mysteriously changed at the command prompt. I made no system changes, only did an upgrade and reboot. I've never had this issue before.
The prompt should display:
username@unique-hostname
But instead it displays:
[username@000d561647fd ~]$
My /etc/rc.conf
HOSTNAME="unique-hostname"
My /etc/hosts
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost unique-hostname
::1 localhost.localdomain localhost unique-hostname
I'm at a loss for what's wrong or how to fix it.
Offline
talk in console "sudo hostname unique-hostname". But I don't sure what to be after reboot. Say us later
Last edited by kurych (2011-12-10 15:20:25)
Offline
talk in console "sudo hostname unique-hostname". But I don't sure what to be after reboot. Say us later
sudo: hostname: command not found
EDIT: Sorry, I had to install inetutils to execute hostname
I ran the command successfully, and hostname shows the change but will the change remain after a reboot?
EDIT: OK, that seemed to do the trick...still worked after a reboot. Thanks.
Last edited by bpont (2011-12-10 16:54:35)
Offline
Mark the thread as solved?
Offline
Pages: 1