Try safe mode if your Mac doesn’t finish starting up – Apple Support

Starting in safe mode without a keyboard If your Mac doesn’t have a keyboard available to start in safe mode but you have remote access to it, you can configure the Mac to startup in safe mode using the command line. Access the command line by either opening Terminal remotely, or by logging into the computer using SSH. Use the following Terminal command:

sudo nvram boot-args=”-x”

If you want to start in verbose mode as well, use this instead:

sudo nvram boot-args=”-x -v”

After using safe mode, use this Terminal command to return to a normal startup:

sudo nvram boot-args=""

Source: Try safe mode if your Mac doesn’t finish starting up – Apple Support

Rename the blog?

Rightfully (moving forward) I should rename this to OS X Things and remove the Mac.

Of course almost all of the posts really do refer to “Mac OS X Things”, so I should leave it alone.

There is a post about postfix getting stepped on.

There should be a post about the removal of /private/etc/apache2/users/* which sort of messed up my web serving since I actually included those files. Well, not me, the apache2 port in MacPorts caused them to be included.

I am back up and running pretty much completely in OS X (as opposed to Mac OS X) not server.


Fix for postfix in Mac OS X 10.8 Mountain Lion

After installing OS X 10.8 Mountain Lion, a few things in our web development environment stopped working (namely Apache with multiple vhosts, BIND/wildcard DNS, Phusion Passenger and the rmagick2 gem, and postfix). The reason being is that Apple overwrites all of the configuration files that those tools rely on (although the old ones are all backed up with an appended ~previous, so fixing is relatively straightforward). We rely on postfix for sending mail locally via smtp using PHP’s mail() (i.e. sendmail) or Rails’ ActionMailer.

Fix for postfix in Mac OS X 10.8 Mountain Lion.

I didn’t find the backup copy of the plist – mine were just, simply, blasted.

10.7: Enable the FTP server

Apple seemingly dropped the FTP Server support in Mac OX Lion. Only the GUI has been removed and the FTP Server can be activated. You can still enable it with the command line. To start it type the Terminal command:

sudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plist

To stop it:

sudo -s launchctl unload -w /System/Library/LaunchDaemons/ftp.plist

via 10.7: Enable the FTP server – Mac OS X Hints.

Maintain app organization when restoring iOS devices

It turns out that iTunes actually offers two kinds of restores. The first is the one described above, accessed by clicking the Restore button in iTunes’ Summary view for your iOS device. The other one is less obvious—you access it by right-clicking (Control-clicking) your iOS device in iTunes’ sidebar and choosing Restore from Backup.

via Maintain app organization when restoring iOS devices | Phones | iOS Central | Macworld.

This is HUGE

Western Digital crapware

sudo launchctl unload -w /Library/LaunchDaemons/com.wdc.WDDMservice.plist
sudo launchctl unload -w /Library/LaunchDaemons/com.WesternDigital.WDSmartWareD.plist