Refresh a simple passwd file for linux commands and passwd for linux commands

Source: Internet
Author: User

Refresh a simple passwd file for linux commands and passwd for linux commands

**************************************** ******************************** ***************************************

Original Works are from the blog of "Deep Blue blog". You are welcome to repost them. Please indicate the source when you repost them. Otherwise, the copyright will be held legally responsible.

Deep Blue blog: http://blog.csdn.net/huangyanlong/article/details/39924845

**************************************** **************************************** **************************************** ****

Passwd file

(1) File Content

Password File, which contains the following content:

Uid: the unique identifier of the user. 0 is the identifier of the root user.

Path: the user name and User Identifier are stored in the/etc/passwd (password) file.

Home Directory: stores the Home Directory of each user, including the first program executed by the user, such as shell

 

(2) operation demonstration

[Root @ xckydb etc] # more/etc/passwd

Field 1: User Name

Field 2: if it is set to x, password verification is required for login. If it is null, password verification is not required for login.

Field 3: uid

Field 4: gid

Field 5: Comment

Field 6: user's home directory

Field 7: The program that the user first executes after Logon

**************************************** ******************************** ***************************************

Original Works are from the blog of "Deep Blue blog". You are welcome to repost them. Please indicate the source when you repost them. Otherwise, the copyright will be held legally responsible.

Deep Blue blog: http://blog.csdn.net/huangyanlong/article/details/39924845

**************************************** **************************************** **************************************** ****


In linux, how does one create a user and use commands to view the user's storage information in the PASSWD file?

1. Create a user: useradd user name [-d user's home directory] [-s user's shell] (other options forgot)
2. Create a password: passwd User Name (that is, the user name above)
3. View passwd file content: cat/etc/passwd)

Can someone crack the linux passwd password? The file content is as follows:

Don't worry about it. Linux passwords are encrypted by random computing, unless the system is written by you. Otherwise, you cannot decompile it. If someone else knows the encryption calculation formula, Will enterprises still use the linux operating system? $1 $ argFk5UDAxH96lBa. Olympus 0 is not fixed. You can set the same password several times. Each time the password segment is different, the password segment is random. Only the encryption method can be used for decompilation. $1 $ argFk5UDAxH96lBa. Olympus 0 is meaningless. If you know the encryption method. It's already a billionaire.
 

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.