Enable root login on Mac OS X

    

I have a second hard drive in my MacBook Pro that stores the user’s files. To enable state safe manipulation of those data, I like to log as root. This way, I ensure that none of those files will be modified during operation (copy, move, …). Here’s how to enable root login on Snow Leopard: From the  menu, select System Preferences ; From the System section, select the Accounts tool ; Select the Options option and click the Join button ; Click the Open Directory Utility button ; Click on the lock and enter the administrator password ; In the Edit menu, select the Enable Root User command ; Fill-in the root password and click OK.

Continue reading...


Boot Mac OS X in single-user mode

    

Here’s the quick reminder on how to start OSX in single-user mode : If the Mac is on, turn it off. Power the Mac on. When you hear the chime, press cmd-s Do what you have to and type exit or reboot to return to normal mode. Source: Mac OS X: How to start up in single-user or verbose mode

Continue reading...


OpenBSD monitoring with symon

    

symon says it is a “system monitor for FreeBSD, NetBSD, OpenBSD and Linux. It can be used to obtain accurate and up to date information on the performance of a number of systems”. What I like is that it is lightweight and quite straight forward to implement. Here’s how I configured it on my OpenBSD box. Note that my box is both a client and a server regarding monitoring events.

Continue reading...


Running Monit v5 on OpenBSD

    

Quoting Monit’s website, “Monit is a free open source utility for managing and monitoring, processes, files, directories and filesystems on a UNIX system. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations.” I like it because it is much lighter than Nagios. In the OpenBSD ports, it is available in version 4. But it is also provided as a binary archive from the website. Here’s how to run Monit v5 on OpenBSD.

Continue reading...


Running eAccelerator on OpenBSD’s Apache

    

OpenBSD provides an optimized and secured Apache v1.3 server. It also provides various PHP modules. But it doesn’t provide the eAccelerator PHP module (yet?). Here’s how I compiled, installed and run eAccelerator on OpenBSD’s native Apache:

Continue reading...


58 / 85