Linux Rights Management Detailed

Source: Internet
Author: User

There are many kinds of permissions in Linux, which can be divided into three categories: User's permission to file, user's permission to system command and file special permission. Described in detail below.

Explain the meaning and function of setting permissions

First, the user's permissions to the file

The user's permission to the file refers to the user-owned file additions and deletions to change the operation. It can also be subdivided into basic permissions (UGO), umask permissions, and ACL permissions.

1. Basic Permissions

1), Permission bit

The permissions for the Linux files are altogether 10 bits. The first digit identifies the file type, followed by each three-digit owner, the owning group, and other people's permissions.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/75/6D/wKiom1Y4ouPyq9WuAAClnkO-7gM256.jpg "title=" Permission Bit " alt= "Wkiom1y4oupyq9wuaaclnko-7gm256.jpg"/>

2), permission meaning

3), related commands

2. Umask Permissions

3. ACL permissions

1), the meaning and function of ACL permission

2), ACL permission settings related commands

Second, the user's permission to the system command

Sudo

Iii. Special permissions for Files (chattr)

File type

Hard links and soft links

Iv.. SELinux Permissions

This article is from the "Kids Age" blog, be sure to keep this source http://9460170.blog.51cto.com/9450170/1709365

Detailed Linux Rights Management

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.