Permission-owner, group member, and all other users

Source: Internet
Author: User
When a file has a file or directory, it has control over the access to the file or directory.

Owner

In the unix security model, a user can own (own) files and directories.

When a file has a file or directory, it has control over the access to the file or directory.

========================================================== ========

Group members

In turn, the user belongs to another group. This group is composed of one or more user groups.

Users in the group are authorized to access files and directories by their owner.

========================================================== ========

All other users

In addition to authorizing group Access, the file owner can also grant some access permissions to all users.

In unix terms, all user values are in the world.

========================================================== ========

Use id to obtain user identity information

[Root @ allyes20121031 de_info_center] # id

Uid = 0 (root) gid = 0 (root) groups = 0 (root), 1 (bin), 2 (daemon), 3 (sys), 4 (adm ), 6 (disk), 10 (wheel)

========================================================== ========

Where does this information come from?

Similar to many situations in linux, this information comes from a series of text files.

The user account is defined in/etc/passwd, and the user group is defined in/etc/group.

Many Unix-like systems allocate common users to a public group, such as uesrs.

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.