Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the '10.6: Automate Internet Sharing revisited' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.6: Automate Internet Sharing revisited
Authored by: ALT147 on Mar 09, '11 09:22:05PM
You can also start Internet Sharing from the command line like so:

service start

but it seems to need admin privileges, so encapsulating it in an Applescript without putting your password in clear text could be difficult. Also the service command (as it will so helpfully inform you) is deprecated - someone smarter than me can figure out the equivalent command for launchctl.

[ Reply to This | # ]