There have been times whereby it is necessary to create disk image files such that it can be placed unto smaller drives. Maybe you have a 8GB DMG file that needs to be placed into 2 4GB disk. This can be done over the command-line. Continue reading Creating multi-part DMG using the commandline
Monthly Archives: March 2010
Resetting Local KDC when imaging Macs
When a Mac is imaged, the local KDC is imaged together with it. This causes the SHA1 key used in the local KDC to be replicated. When the image is bound to the AD, this would result in the machine being unable to bind due to replicate SHA1 keys. This is reflected at the support pages (http://support.apple.com/kb/TS1245)
To solve this, remove traces of the local KDC and reset it. Using Keychain Access, locate the com.apple.kerberos.kdc certificate and key pair in the System keychain. And delete all three entries. Then do the following commands.
sudo rm -fr /var/db/krb5kdc sudo /usr/libexec/configureLocalKDC
Disable Auto window sizing
This apparently addresses difficulty downloading large files from any web site where the download will begin, but it will rapidly slow down and eventually it will time out and the download will fail.
sudo sysctl -w net.inet.tcp.rfc1323=0
Disable/Enable iPhone Backups
To disable the backups:-
defaults write com.apple.iTunes AutomaticDeviceBackupsDisabled -bool true
To enable the backups:-
defaults write com.apple.iTunes AutomaticDeviceBackupsDisabled -bool false