If you want see what your children are doing on your Mac, or you suspect someone to gain unauthorized to your Mac then it may be time to install a keylogger. With a keylogger it is possible to record the entire keyboard input and write it to a log file. This file will show you exactly what has been typed on the keyboard of your Mac. But be careful cause you shouldn’t abuse someone’s privacy.
There is a free keylogger available for Mac OS X, it is called logKext and can be downloaded on the Google Code website. The keylogger will be installed as a kernel extension, and will automatically encrypt all the log files so that you are the only one to access them. You can access the log files through OS X Terminal, logKext includes an install that will automatically install the necessary software.
After you completed the installation of logKext is it time to access the application with OS X Terminal. Please enter the following command in Terminal (Applications > Utilities > Terminal):
set Password= [choose your own]
By using the command ‘print’ you view the log file. Please note that the log file is created when more than 100 characters are present in the buffer. So it may happen that the log file is empty while testing it out immediately after installation.
If you don’t want to make use of logKext anymore, use the following command to remove it from your system: