Setting Access ACLs

 ACL-

Access Control List (ACL) provides an additional, more flexible permission mechanism for file systems. It is designed to assist with UNIX file permissions. ACL allows you to give permissions for any user or group to any disc resource. 

There are two types of ACLs: access ACLs and default ACLs. An access ACL is the access control list for a specific file or directory. A default ACL can only be associated with a directory


Setting  access   control  for User-
 
# mkdir    /acl
# chmod   777  /acl
# useradd          ram
# useradd          raj
# ls
 
# setfacl   -m    u:ram:r_x/acl
# setfacl   -m    u:raj:_wx/acl
# getfacl   /acl


Setting  access   control  for   agroup


# groupadd       ptr
# useradd          rajini
# useradd          vinoth
# useradd          sunil
# mkdir            /acl2
# usermod        -G    ptr    vinth
# usermod        -G    ptr    rajini
# chmod     777        /acl2
# setfacl   -m    g:ptr:r_x          /acl2






  

_____________________________________________________________________________________________
Click Back..                                Click Home..


https://docs.google.com/forms/d/1iNRZlJJO6rBFizzPcFmyOTEtfkdjhdVRmpM74IbiT3o/viewform