Facl configuration in Aix

Source: Internet
Author: User

ACL is the command list of vro and vswitch interfaces. It is used to control inbound and outbound data packets. ACL applies to all routing protocols, such as IP, IPX, and appletalk. This table contains the matching relationship, conditions, and query statements. The table is only a framework structure, and its purpose is to control some access.

The Aix ACL is an extension of the standard permission bit. By modifying the standard permissions assigned to individuals or groups, you can perform finer control over each file or directory. Each group or user has three types of permissions:
Permit: allows specific permissions on files or directories.
Demy: Restrict specific permissions on files or directories.
Specify: clearly defines file or directory permissions.

The "acledit" command is used to create an aix acl. You must first set a text editor, for example, export editor =/usr/bin/VI.
Then use acledit file_name

The screen will show:
 

1. attributes:

2. Base Permissions

3. Owner (rcunning): rwx

4. Group (staff): R-

5. Others :---

6. Extended Permissions

7. Disabled

To set the extended permission, change "disabled" to "enabled": Extend permissionsenabled

Use the permit, deny, or specify keywords to define the extended permissions. The preceding example shows that only the owner can write the file. Members of the Group can read this file, while other users do not have any permission. To enable "Joe" to read and write this file, run the following command:
 

1. Extended Permissions

2. Enabled

3. Permit RW-u: Joe.

To allow the group user joegroup to read this file, run the following command: rermitr -- G: joegroup

You can fine-tune permissions by merging multiple entries in the same row. If you only want to provide read and write permissions for Pete, and he is part of the system group, run the following command: permit RW-u: Pete, G: System
To add permission to several users or groups, use the branch command:
 

1. Permit RW-u: Joe

2. Permit RW-u: Pete

Run the "ls-El" command to check whether the aix acl has been set in the file. For example, the "ls-El profile" command displays:-rwxw -------- +
+ Indicates that the file has a valid aix acl.

Note: using the CHMOD command that has a number dispute will invalidate the ACL of the file or directory.

 


This article is from the "mayjcle" blog and will not be reproduced!

Facl configuration in Aix

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.