You can also change the time using the xset s [value] command, where [value] is the time in seconds. The default value is 600 ...
What's the difference between using "sudo hostname <mymac>" and "sudo scutil --set LocalHostName <mymac>"<BR><BR>I have used both commands in the past in my deployment scripts. I want to be more ...