Create a personal encrypted folder in Ubuntu8.10

Source: Internet
Author: User
Article Title: create a personal encrypted folder in Ubuntu8.10. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

ECryptfs is a POSIX-compatible commercial-level stack-encrypted Linux File System. It provides some advanced key management rules. ECryptfs writes the encryption element in the header of each encryption file, so the encrypted file can be decrypted using the key even if it is copied to another host. Consider eCryptfs as a kind of "gnupgfs". eCryptfs is a kind of Linux File System. Its kernel components are already part of the Linux kernel after 2.6.19.

Install eCryptfs in Ubuntu 8.10 Intrepid


Sudo aptitude install ecryptfs-utils

After installation, you need to create an encrypted directory:

Mkdir ~ /Personal

Use the following command to make sure that other people cannot access this folder:

Chmod 700 ~ /Personal

Mount ecryptfs to the Personal folder:

Sudo mount-t ecryptfs ~ /Personal ~ /Personal

During the process, the system will prompt you to answer a few questions:

Select the key type for the newly created file:

Press "1" to select the Mount Password

Enter and confirm your mount password.

 

Select the number of encrypted digits.

The default value is [16]. If you do not know what to choose, press enter to select the default value. Then set plaintext passthrough (I don't know how to translate it properly)

Select 'y' if you want to clear unencrypted files in the folder. Otherwise, select 'n '.

Now you can see that a Personal drive has been mounted in your main folder.

[1] [2] Next page

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.