How to Create Password Protected "Private" Folders

In this short tutorial, you will learn to create password-protected "private" folders. The advantage of this type of folder is that files stored in it will be encrypted and only you and no one other than you will be able to see, edit, delete, etc.

Steps to follow

1.- The trick is to install the package ecryptfs-utils.

sudo apt-get install ecryptfs-utils

2.- Open a terminal and run:

ecryptfs-setup-private

3.- It will ask for your user password (the same with which you will log in) and a new password, which will be used to mount the «private» folder. Using both keys, ecryptfs will encrypt the folder in question.

4.- Log out and when you log in again, a «Private» folder will be created in your HOME folder.

Note: Don't forget to make a copy of the file ~ / .ecryptfs / wrapped-passphrase in a safe place. Tomorrow, when you need to access this folder, ecryptfs needs that file in its place in order to decrypt the information contained in it. The copy can serve you in case you delete the file accidentally or some other kind of misfortune occurs. 🙁

5 comments, leave yours

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Dark sither said

    You see, I am not the root of the PC, only the user range, and as such it does not let me ... Is there any way to solve it? Thank you

  2.   Saito Mordraw said

    A very useful post. Thank you.

    P.S. I'm glad you're back, I hope you had fun. = D

  3.   thebetter said

    Hello friends. To the developers of that site, very good job. Its contents have helped me. It is in case someone did not understand well, on this page you can put Folder with password. There is a video explaining everything. I leave the link. http://trucospcgratis.com/Carpeta-con-contrasena.html.

  4.   Enzo Israel Neyra Dianderas said

    Hello, how would I do when I want to remove the security from said folder.