Refresh a simple passwd file for linux commands

Source: Internet
Author: User
**************************************** ******************************** ************************************* Original works, you are welcome to repost the blog from deep blue. You must specify the source when you repost the blog. Otherwise, you will be held legally liable for copyright. Deep Blue blog: blog. csdn.

**************************************** ******************************** ************************************* Original works, you are welcome to repost the blog from deep blue. You must specify the source when you repost the blog. Otherwise, you will be held legally liable for copyright. Deep Blue blog: http://blog.csdn.

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

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

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

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.