Access control list example for AIXC
The following is an example of an AIXC access control list (ACL).
The following is an example of an AIXC ACL:
attributes: SUID
base permissions:
owner(frank): rw-
group(system): r-x
others: ---
extended permissions:
enabled
permit rw- u:dhs
deny r-- u:chas, g:system
specify r-- u:john, g:gateway, g:mail
permit rw- g:account, g:financeThe parts of
the ACL and their meanings are as follows: - The first line indicates that the setuid bit is turned on.
- The next line, which introduces the base permissions, is optional.
- The next three lines specify the base permissions. The owner and group names in parentheses are for information only. Changing these names does not alter the file owner or file group. Only the chown command and the chgrp command can change these file attributes.
- The next line, which introduces the extended permissions, is optional.
- The next line indicates that the extended permissions that follow are enabled.
- The last four lines are the extended entries.
- The first extended entry grants user
dhsread (r) and write (w) permission on the file. - The second extended entry denies read (
r) access to userchasonly when he is a member of the system group. - The third extended entry specifies that as long as user
johnis a member of both the gateway group and the mail group, this user has read (r) access. If userjohnis not a member of both groups, this extended permission does not apply. - The last extended entry grants any user in both the
accountgroup and thefinancegroup read (r) and write (w) permission.
Note: More than one extended entry can be applied to a process,
with restrictive modes taking precedence over permissive modes.
See the acledit command for the complete syntax.