SET USER PERMISSIONS IN LINUX

It is very easy to set user permissions for a file in Linux.For setting the user permissions in Linux we use ACL.
ACL means access control list.For enabling user permissions in Linux we have to edit the file /etc/fstab and add
the entry acl.In the video ,for setting user permissions on my root (/) partition i have edited the fstab and
added a entry "acl". And remounted my root partition .It will enable user permissions on my root partition
.Then i created a file for test named "acltest" and given only execute permission for my user "testuser"
.Then i exited from my root shell and try to read and write the file.it is giving a permission denied error because
the  permission set for test user is only execution.We can also list the permission using "getfacl" command
The syntax is

getfacl [filename]

NB: [ is not required


THANKS

Related Posts:

  • SELINUX BASICSHere i am going to explain the basic configuration of selinux.Through theses steps you can easily administrate your selinux policies. Here is the simple step of enabling and disabling policies of different application. In th… Read More
  • Assigning ip address to linux systemVideo number three is for beginners and it is assaigning IP address for your linux system. In this video i am showing you how to assign IP adress for your linux system by editing the configuration file.the configuration file&… Read More
  • Installation of Centos 6.2 Here we go The first video ,Installation of Centos 6.2 … Read More
  • Automount NFS share by editing fstab file in centos /RhelFor automounting NFS we have to /etc/fstab . The fstab file contains entries of partition to be auto mounted during linux system startup.please follow the video for mounting nfs share automatically. rsize - read size wsize… Read More
  • SET USER PERMISSIONS IN LINUXIt is very easy to set user permissions for a file in Linux.For setting the user permissions in Linux we use ACL. ACL means access control list.For enabling user permissions in Linux we have to edit the file /etc/fstab and ad… Read More