Linux Access List
This article can be used as a tutorial for ACL’s on Linux; I will be covering the basics of ACL’s and give some examples of usage.
Traditionally, three permission sets are defined for each file object on a Linux system. These sets include the read (
r
), write (w
), and execute (x
) permissions for each of three types of users—the file owner, the group, and other users. The advantages of ACLs are evident if you want to replace a Windows server with a Linux server. Some connected workstations may continue to run under Windows even after the migration. The Linux system offers file and print services to the Windows clients with Samba. With Samba supporting access control lists, user permissions can be configured both on the Linux server and in Windows with a graphical user interface
First we will check where we are at..Them we are going to the root to see the files on it
With htop we can see which process are running internally
Now we will check a couple more commands
According to the output of the
ls
command, the permissions for the mask entry include write access. Traditionally, such permission bits would mean that the owning group also has write access to the directory MyGreatDirectory.we see here our user id , our Group ID, the groups that we belong to, groups as admin , where I can mount CD, admin account that only root can do,like sudo etc
As you can see , with getfacl -help you can get a lot of useful tools for Acces list
As you could see , we check all the permissions from"MyGreatDirectory"
The
setfacl
command is used to set acl lists on files and directories, setfacl
is the acl version of the chmod
command.Hopefully this information of ACL was useful for you.If you did , please click like
Linux Access List
Reviewed by ohhhvictor
on
August 13, 2018
Rating:
No comments: