How to Use DM-Crypt to encrypt a Linux File System?
Readers often ask us how to implement a file system encryption method for Linux. Before discussing this topic in depth, I would like to clarify two points:
First, it is difficult to find enough
This command is used to generate the password in the crypt format:mkpasswdAfter you enter a command, the program asks for a password and then generates a string in crypt format.If you are using an Apache Web server, you can also use
BKJIA quick translation: When we use the Red Hat Kickstart script or useradd or other methods to write things, we often need to use the password format encrypted by the crypt command. Is there any other way to generate a password in this format? In
When UbuntuLinux uses an encrypted file system, data security can be well protected. In this case, even if we send our machines to hackers, as long as they do not have a key, the data they see will only be a bunch of garbled characters and there is
We can use the MKPASSWD command: This command is used to generate the password in the crypt format:
mkpasswd
When you enter a command, the program asks for a password and then generates a crypt format string.
If you use the Apache Web server, you
Easycluster recently requires users to be created and a user account can be created on Linux. It is natural that the background program calls the useradd command line, passwords are troublesome. Check the useradd manual. You can specify a password
Basic knowledgeThe password for the Linux user is implemented by the function crypt (). Crypt () is a cryptographic function (password encryption, plaintext into ciphertext), the function is based on the Data Encryption Standard (DES,DATA encryption)
Recently, some development programs are closely related to Linux users. I have never done any relevant learning before. I just stayed at useradd under shell,Passwd command, but has little knowledge about user authentication and password management.
Linux supports a wide variety of file systems. They provide a good operation and user interface for data storage and management. In a file system, security mechanisms and problems such as file/directory access permission management and control, and
Example of the passwd command in 10 Linux
As shown in the passwd command name, it is used to change the password of the System user. If the passwd command is executed by a non-root user, it will ask the current user's password and then set the new
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.