I just got a new MacBook Pro running the latest version of Leopard. I want to permanently change the default hostname that it assigned to me, but none of the following work (from a root Terminal session):
/bin/hostname newhostname
/usr/sbin/networksetup -setcomputername newhostname
/usr/sbin/scutil --set ComputerName newhostname
By not working, I mean that after restart, the old hostname returns.
What I'm looking for is the result of the /bin/hostname command to always and irrevocably be "newhostname" from now until eternity.
I have 20+ years experience with Unix and Unix-like systems, by the way, so I don't need an introductory how-to-do-stuff-in-a-Terminal-window tutorial.
Thanks in advance.
/bin/hostname newhostname
/usr/sbin/networksetup -setcomputername newhostname
/usr/sbin/scutil --set ComputerName newhostname
By not working, I mean that after restart, the old hostname returns.
What I'm looking for is the result of the /bin/hostname command to always and irrevocably be "newhostname" from now until eternity.
I have 20+ years experience with Unix and Unix-like systems, by the way, so I don't need an introductory how-to-do-stuff-in-a-Terminal-window tutorial.
Thanks in advance.
.