Linux crypt function 1. Crypt definition
#define _XOPEN_SOURCE/* See Feature_test_macros (7) */#include Char *crypt (const char *key, const char *salt);
Above is the definition of crypt function seen by Man 3 crypt.See from the
The crypt function is used for encryption. Currently, the encryption methods on Linux are MD5, Des, and 3 DES.
MD5 and des are used more frequently on the RedHat platform. The original form of the crypt function is:
Char * crypt (const char *
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)
Bash basics man manual and bash basics manBash basics man Manual
Penetration tests based on Android devices are implemented through various terminals. Therefore, it is particularly important to master Shell-related operations. Bash is a Unix Shell
Bash basics man ManualBash's basic knowledge man manual is implemented by various terminals because penetration tests based on Android devices. Therefore, it is particularly important to master Shell-related operations. Bash is a Unix Shell program
Pam Full name: Pluggable Authentication Modules, Chinese name is "pluggable authentication module ".It is a unified authentication solution. Pam allows you to change your authentication methods and requirements at any time, and encapsulates all
After the root permission is logged on, the/etc/shadow file is obtained and the text is opened.
Shadow file:
In Linux, the/etc/shadow file stores the user's password hash value.
The ciphertext format of the password stored in shadow is as follows:
$
######################################## #######################Useradd user management######################################## #######################1. useradd-DShow Default User Creation options2. Create a template file location with the default
VSFTPD is a secure and fast FTP server in UNIXLinux and has been used by many large websites. VSFTPD supports saving user names and passwords in database files or database servers. VSFTPD calls this form of user as a virtual user. Compared with FTP
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.