hostconfig process
Martin Costabel
costabel at wanadoo.fr
Wed Aug 15 09:26:08 PDT 2007
John C. Welch wrote:
[]
> bill, and it wouldn't matter. However, for Mac OS X client, I'd not use
> scutil anyway, but rather networksetup, as it's got a much cleaner way to go
> about this.
/usr/sbin/networksetup exists on Mac OS X server. On Tiger client, it
comes in two flavors, networksetup-jaguar and networksetup-panther (how
clean is that on Tiger?), the latter symlinked to networksetup; but you
won't see it if you don't happen to have
/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support
in your PATH.
Together with its brother systemsetup, this is a promising candidate for
the "worst-documented and most obscure Mac OS X command" contest.
Anyway, you can't set the hostname with it, only the computername.
Dan's scutil --set HostName, although also undocumented, has the
advantage of working.
--
Martin
More information about the MacOSX-admin
mailing list