Page 58 - RHEL8 BOOK
P. 58

Step8. To apply the quotas for a group on quota enabled partition
          [root@comp1 ~]#edquota -g <group name>
          [root@localhost ~]# edquota -g salesgrp
          Disk quotas for group salesgrp (gid 4006):
          Filesystem                      blocks       soft       hard     inodes     soft     hard
          /dev/sda15                           0               0          0                 0           3        5
          [root@localhost ~]# cd /salesdept/
          [root@localhost salesdept]# su sai
          [sai@localhost salesdept]$ groups
          salesgrp
          [sai@localhost salesdept]$ touch sai1 sai2 sai3
          [sai@localhost salesdept]$ exit
          exit
          [root@localhost salesdept]# su ram
          [ram@localhost salesdept]$ groups
          salesgrp
          [ram@localhost salesdept]$ touch ram1
          [ram@localhost salesdept]$ touch ram2
          [ram@localhost salesdept]$ touch ram3
          [ram@localhost salesdept]$ ll

          Note:- Quotas are not applicable on secondary group members






























                                                       S. Pradhan
                             (MCA, MBA-IT, BCA, CCNA, MCSA 2012, RHCE, ETHICAL HACKING)
                                             Email Id:-spradhan.iiht@gmail.com
                                                           58
   53   54   55   56   57   58   59   60   61   62   63