When i tried to login into a sun solaris machine, it could not recognise the hostname of the machine.
the prompt is like admin@unknown>:/
But, the etc/hosts has the correct entries.
Also, when i tried issuing any commands, the following message was issued at the console
admin is not allowed...