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.