Linux/etc/passwd File Options Description _linux

Source: Internet
Author: User
The/etc/passwd file is a plain text file with the same format for each line:

Name:password:uid:gid:comment:home:shell

They have the following meanings:

Domain

Description

Name

User Login Name

Password

User password. The password in this domain is encrypted. When the user logs on to the system, the system takes the same algorithm for the password entered and compares it with the content in this domain. If this field is blank, the user does not need a password to log on.

Uid

Specifies the user's UID . After the user logs into the system, the system identifies the user by this value, not the user name.

Gid

GID . This value is used if the system is to give the same rights to the same group of people.

Comment

Used to save the user's real name and personal details.

Home

Specifies the absolute path of the user's home directory.

Shell

If the user logs on successfully, the absolute path of the command to execute is placed in this area. It can be any command.

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.