in reply to `hostname -s`
Don't use it in Solaris! Or your new hostname will be named "-s" :)
So use module suggested by Corion