Software Update Enabler no longer works with Mountain Lion. Following these command still work though.
Using a configuration profile
You can use a configuration profile (such as those created by Profile Manager) to point clients to a Software Update Server. When adding a Software Update payload to the profile, specify a URL such as:
http://su.example.com:8088/index.sucatalog
…substituting your Software Update Server’s fully qualified host name for su.example.com .
Managed Client
To manage access to Software Update servers using Managed Client:
- In Workgroup Manager, click Preferences.
- Make sure the correct directory is selected and that you are authenticated. To switch directories, click the globe icon. If you are not authenticated, click the lock and enter the name and password of a directory administrator.
- Select a computer group.
- Click Software Update.
- Set the management setting to Always.
- Specify a URL such as this (substituting your Software Update Server’s fully qualified host name forsu.example.com):
http://su.example.com:8088/index.sucatalog
- Click Apply Now.
Unmanaged clients
To point unmanaged clients (clients not being managed with a configuration profile or Managed Client) to a Software Update server:
- On the unmanaged client, open Terminal.
- Enter the following command (substituting your Software Update Server’s fully qualified host name forsu.example.com):
sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate CatalogURL http://su.example.com:8088/index.sucatalog
You can verify your change using the following command:
defaults read /Library/Preferences/com.apple.SoftwareUpdate CatalogURL
To point the unmanaged client computer back to the Apple Software Update server, use the following command:
sudo defaults delete /Library/Preferences/com.apple.SoftwareUpdate CatalogURL
VIA: Apple KB
Then you can make each as a executable bash command:
#!/bin/bash
sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate CatalogURL http://su.example.com:8088/index.sucatalog
Save it with any name you want and end the file in .command
or .sh
.
From the Terminal, run chmod o+x <filename>
to make the file executable.
To run the file simply open the terminal.app and ./<filename>
Or Double-Click it to run.
Leave a Reply