setfacl is useful to deal with complex user access administration
1. create user rocky and yu
2. create group testallow
3. create test folder /var/test
4. set the folder permission to 700 to make sure no one can access this folder except root
5. setfacl -m u:rocky:rwx /var/test  and su ?rocky to test the access of folder
6. usermod -G testallow yu to add user yu to testallow
7. setfacl -m g:testallow:rwx /var/test and su ?yu to test the access of folder
8 use getfacl to gain the acl of folder
9 use tail /etc/group to gain the group infomation

About Lei

I am an IT specialist with over 10 year experience - years on Automation, on-Premise or Azure.

I am happy to develop however never want be a full time developer. Only do what I have to do. If it has to be PowerShell,HTML, PHP, CSS, C#, VBS or JS, front end or backend, so be it, doesn't matter!

Spent years with Windows, SCCM, SharePoint, SQL and Exchange servers. For last several years, I have been actively working under On Premise > Azure environment.


Current Certificates:
    Microsoft® Certified-
  • -Enterprise Administrator
  • -Database Administrator
  • -SharePoint Administrator
  • -Administering and Deploying SCCM 2012
Red Hat Certified Technician
ITIL V3 Foundation - Practitioner

Working on Azure Certificates now and hopefully they can stop upgrading their questions one day! GIVE ME A BREAK!

Contact Lei

Name *
Email *
Comments *

Traffic since 10/08/2016

This week13
This month2086

Visitor Info

  • IP:
  • Browser: Unknown
  • Browser Version:
  • Operating System: Unknown

Who Is Online