[ubuntu users] Strange new Information--Question 2
Rashkae
ubuntu at tigershaunt.com
Wed Sep 30 11:14:39 UTC 2009
Ted Hilts wrote:
> directory as in "sudo mkdir /media/sdc1/...." the message "Cannot
> identify host" is generated and then and the directory is created. A
> typical directory creation would be:
>
> "sudo mkdir /media/sdc1/SB_EXPORTS/UBUNTU-EXPORTS-Aug-wk04-2009"
>
> This strange informational message recently started to occur where
> before there was no message at all.
>
> I am wondering if there has been some syntax changes regarding "mkdir"
> that require some reference to the host.
>
>
> Any insight on this phenomena would be appreciated.
>
The message is generated by sudo, not mkdir, and indicates a mismatch
between your hostname (found in /etc/hostname) and the contents of your
/etc/hosts file, which should have a 127.0.1.1 entry with that hostname,
as well as an alias for 127.0.0.1 localhost.
Ex:, since my hostname is Horo, my hosts file includes:
127.0.0.1 localhost Horo
127.0.1.1 Horo
More information about the ubuntu-users
mailing list