/Etc/passwd file

Source: Internet
Author: User

/Etc/passwd file
The passwd file is stored in the/etc directory. This file stores information of all user accounts. You can use the cat/etc/passwd command to view the file content.

A passwd file consists of multiple records, each of which occupies one row and records all information of a user account. each record consists of seven fields separated by colons. The format is as follows:

 

 

Username: password: User ID: Group ID: comment: home directory: login shell


Username
Password
User ID (UID)
Group ID User Group Identifier, GID for short. (Different users can belong to a user group and have the permissions shared by the user group. Similar to UID, GID uniquely represents a user group)
Comment user account comment
Home directory. (This user's home directory)
After a login shell user logs on, a process to be started is responsible for transmitting user operations to the kernel. This process is a command parser or a specific program that the user logs on to the system and runs.

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.