[Mac Tips] Guard Yourself From Keyloggers While Using Terminal
This is very easy to do... and it couldn't be a more important feature.
If you're always paranoid that there's something waiting... watching in the background of your computer, just waiting for the right moment to read your keystrokes, then Terminal might be one of the worst applications that you could be using. It uses your administrator password when you log in as a super user, and if you're a command line user instead of a GUI (Graphical User Interface) user like John Heaton
, then Terminal might be the one thing that you want to use as securely as possible no matter what.
Did you know that Apple implemented a feature into Terminal that will disconnect it from any other process in the Macintosh operating system? This means that you will be able to type into Terminal and not even the most advanced keyloggers (not even your trusted applications) would be able to see what you were typing. The feature is called, "Secure Keyboard Entry" and it lets you type inside of Terminal in peace. Apple's definition of Secure Keyboard Entry is that it, "prevents other applications on your computer or the network from detecting and recording what is typed in into Terminal." From this you can gather that Terminal is a very powerful tool.
Enabling this feature couldn't be easier, just open a Terminal window (search, "Terminal" in Spotlight and hit Return), then go to the Menu Bar and select Terminal -> Secure Keyboard Entry. That's it. You are secure from any rouge attacks! I'm unsure why Apple hadn't made this option the default setting, but you can enable it yourself as it is turned off by default.
Will you be enabling this feature for added protection? Share in the comments below.
Sources: OSX Daily