MacOS-Hostname

From SWCP Support Wiki
Revision as of 12:21, 14 July 2010 by Jamii (talk | contribs) (Created page with 'You can change your hostname from a terminal window. You'll need to have access to an adminisrator account. Run the following command: sudo scutil --set HostName newname.local...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

You can change your hostname from a terminal window. You'll need to have access to an adminisrator account. Run the following command:

 sudo scutil --set HostName newname.local

Example sequence:

 Macintosh:~ jai$ hostname
 Macintosh.local
 Macintosh:~ jamii$ sudo scutil --set HostName lily.local
 Password:
 Macintosh:~ jai$ hostname
 lily.local