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
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
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
Freebird
1. Overview
The early U N I x system kept the user's password in a plain text readable "password file," which could be intercepted and exposed without the attention of the system administrator. It may also be leaked in an accidental
Sometimes in the initialization shell script you want to be able to create a user and specify a password, you can use the Useradd command to achieve this effect:useradd -m -p encryptedPassword usernameParameter description:
-M:
Then add in the corresponding Server section in the nginx.conf fileLocation ^~/test/{Auth_basic Test-login;AUTH_BASIC_USER_FILE/ROOT/HTPASSWD;Then/root/create a new file in the home directory of root htpasswdThe writing format for this file isUser
Nginx can set password authentication for Web sites or directories or even specific files. The password must be crypt encrypted. You can use Apache htpasswd to create a password.
The format is:
Htpasswd-b-C site_pass username password
I have been watching puppet these two days. I am going to use this to manage the assignment and deletion of users in my system. However, every time I use the passwd command of the system to generate a user password, it is a little too troublesome,
In Linux KickStart, The rootpw password can use plain text or encrypted values (the password is ippbxadminroot)
Note: The encrypted value must be used here, otherwise the security will be too low.
Rootpw -- iscrypted $1 $ ippbxadm $
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.