Suppose you have a folder in your Linux home directory, where you store secure document files which you do not want anyone to access without a password. That way, even if someone manages to get a hold of your computer and access your home directory, there is still another line of defense for your private files.
In this tutorial, I will describe how to password protect a folder on Linux by using Cryptkeeper.
Install Cryptkeeper in Fedora
You can install Cryptkeeper from Fedora's base repository:
After installation, go to "Applications" –> "System Tools" –> "Cryptkeeper" to launch Cryptkeeper.
Cryptkeeper indicator will show up in the desktop panel on the top right corner. Click on the indicator, and choose "New encrypted folder" to create a new encrypted folder.
Choose the name of a folder to password protect, and its location.
Enter a password for your new encrypted folder. Once you click on "Forward" button, it will create a new encrypted folder.
To access an encrypted folder, you need to open it first. To open an existing encrypted folder, click on Cryptkeeper indicator, and click on the folder name. You will be prompted to enter a password. Once the folder is open, you can freely access content in it. To password protect the folder again, simply close the folder by clicking on the folder name in Cryptkeeper indicator.
If you want to set up Cryptkeeper indicator to launch automatically on your desktop, choose "Session and Startup" menu under "Settings".
Add Cryptkeeper under "Application Autostart" tab.
Install Cryptkeeper in Ubuntu, Debian or Linux Mint
To install Cryptkeeper on Debian-based Linux, use apt-get command.
On Ubuntu, you can launch Cryptkeeper via Unity Dash. On Debian or Linux Mint, go to "Applications" –> "System Tools" –> "Cryptkeeper" to launch Cryptkeeper.
NOTE: On recent versions of Ubuntu desktop (e.g., 12.04, 12.10 and 13.04), Cryptkeeper indicator does not show up in the Unity's top panel notification area , due to the systray's new whitelist elimination policy. To fix this problem, first obtain "systray-whitelist" value, and append 'Cryptkeeper' to the existing whitelist, as follows.
['JavaEmbeddedFrame', 'Wine', 'Update-notifier']
If you want Cryptkeeper indicator to show up permanently in your Ubuntu desktop, launch "Startup Applications" menu via Dash, and add Cryptkeeper as a startup program.
Subscribe to Xmodulo
You can have daily Linux tutorials and FAQs delivered to your email inbox. Simply enter your email address below to subscribe to our mailing list. You will receive hands-on guides and carefully written tutorials related to Linux, everything for free.