Hello Friends I m Deepak Saini And today i m trying to explain the ACL (access control list ).
What is ACL ?
ACL stands for Access Control List) in this we are givin the special permissions to a user on a
file or directory.We are able to give access to a users group on a file or directory as well as
users. I am explain in this tut.
Lets start
1 Select the file or directory which one you want to give special permissions for a special user.In my case i make a file on desktop for example deepak.txt.
2 1st of all you check the current permissions on that file or acl on that file with the help of this command
syntax :- #getfacl /root/Desktop/deepak.txt
deepak.txt in my case bro you check whic file you want
3 Then you are ready to apply for acl on your file or directory or file.Then you are set acl with the help of this command
syntax:-#setfacl -m u:username:permissions /root/Desktop/deepak.txt
In this -m for modfiy the permission and u for user and permissions you enter which you want to give the user
like rwx full permissions and other which you want.
How to remove the Acl on a file or Directory
1 If we want to remove the acl on a file then we are able to do this by the help of this command
syntax :- setfacl -x u:username: /root/Desktop/deepak.txt
in this we are leave the permissions field blank .
How to Apply the Acl for Group
1 same as the users just the command is changed
syntax :- # setfacl -m g:groupname:permissions /root/Desktop/deepak.txt
2 check the acl apllies or not
syntax :- # getfacl /root/Desktop/deepak.txt
How to remove the group acl
Same as the user we are using same command with some changes
syntax:-#setfacl -x g:groupname: /root/Desktop/deepak.txt
thanks for reading and Sorry for my R.I.P english _/\_
What is ACL ?
ACL stands for Access Control List) in this we are givin the special permissions to a user on a
file or directory.We are able to give access to a users group on a file or directory as well as
users. I am explain in this tut.
Lets start
1 Select the file or directory which one you want to give special permissions for a special user.In my case i make a file on desktop for example deepak.txt.
2 1st of all you check the current permissions on that file or acl on that file with the help of this command
syntax :- #getfacl /root/Desktop/deepak.txt
deepak.txt in my case bro you check whic file you want
3 Then you are ready to apply for acl on your file or directory or file.Then you are set acl with the help of this command
syntax:-#setfacl -m u:username:permissions /root/Desktop/deepak.txt
In this -m for modfiy the permission and u for user and permissions you enter which you want to give the user
like rwx full permissions and other which you want.
How to remove the Acl on a file or Directory
1 If we want to remove the acl on a file then we are able to do this by the help of this command
syntax :- setfacl -x u:username: /root/Desktop/deepak.txt
in this we are leave the permissions field blank .
How to Apply the Acl for Group
1 same as the users just the command is changed
syntax :- # setfacl -m g:groupname:permissions /root/Desktop/deepak.txt
2 check the acl apllies or not
syntax :- # getfacl /root/Desktop/deepak.txt
How to remove the group acl
Same as the user we are using same command with some changes
syntax:-#setfacl -x g:groupname: /root/Desktop/deepak.txt
thanks for reading and Sorry for my R.I.P english _/\_
1 comments:
perde modelleri
Mobil Onay
Vodafone Mobil Ödeme Bozdurma
nft nasıl alinir
Ankara Evden Eve Nakliyat
trafik sigortasi
dedektör
web sitesi kurma
ask kitaplari
Post a Comment