Re: Hostnames
Re: Hostnames
- Subject: Re: Hostnames
- From: James R Cutler <email@hidden>
- Date: Wed, 04 Jan 2017 21:03:42 -0500
On Jan 4, 2017, at 2:50 AM, Andreas Fink < email@hidden> wrote:
Can anyone shed light on where the hostname is set/stored in macOS Sierra?
# SetComputerNames.command jrc long ago # set hostname(s) interactively echo "Setting your computer name (as done via System Preferences → Sharing)" echo "What would you like it to be?" sudo scutil --set ComputerName $COMPUTER_NAME sudo scutil --set HostName $COMPUTER_NAME sudo scutil --set LocalHostName $COMPUTER_NAME sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server NetBIOSName -string $COMPUTER_NAME
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden