How Can You Put Passwords On Folders

Table of contents:

How Can You Put Passwords On Folders
How Can You Put Passwords On Folders

Video: How Can You Put Passwords On Folders

Video: How Can You Put Passwords On Folders
Video: How To Password Protect a Folder on Windows 10 - No Additional Software Required 2024, November
Anonim

In operating systems of the Linux family, you do not need to install additional programs to set a password for files or folders, as it might happen in the case of Windows. It is enough to change the access rights from user to administrator.

How can you put passwords on folders
How can you put passwords on folders

Necessary

Terminal software

Instructions

Step 1

Most distributions of Linux operating systems include the Terminal or Virtual Terminal program. One way to add protection to the desired directories is to change the permissions. Compared to systems of the Windows family, the user is equal to the User value, and the administrator is equal to Root. This means that the main task is to change the User rights to Root.

Step 2

"Terminal" is launched by the keyboard shortcut Ctrl + alt="Image" + T or by clicking on the corresponding shortcut in the "Applications" menu. In the program window, enter the following line and press the Enter button: sudo chown root: root / home / dmitriy / papka. Then enter the following command: sudo chmod 600 / home / dmitriy / papka.

Step 3

When entering commands, you need to know what actions you are taking. Sudo - enter a command with superuser rights. The file path starts with a "/" character, which means the root directory. Instead of dmitriy, you must put down the name of your account, for example, maksim or dinar. After entering the first line, you will need to enter the superuser password, please note that you will not see the number of entered characters (there will be no asterisks).

Step 4

You can also use special software to encrypt multiple directories, namely Cryptkeeper. To install it, enter the following line in the Terminal window: sudo apt-get install cryptkeeper. After that, the corresponding icon will appear in the panel. Click on the icon to view all the options for this applet.

Step 5

The biggest plus is that for this application to work correctly, there is no need to use superuser rights. Adding a password to a folder is done by mounting the directory to a special zone for which you assign a password. You can unmount a directory with one click.

Recommended: