Restricting user home directory ?
How do i restrict the amount of space user can have in their home directory ?? pls advise...thanxxx....
cspoh77@yahoo.com |
You will need to set disk quotas on them
You can do it in linuxconf Config > access local drives > click on the mount you want to setup click on options scroll down in list to bottom select user and or group quota enabled save that and go to set quota defaults back in main Config window the mounts you put quotas on will be listed and you can configure them this will result in /etc/fstab looking like this for the mount with the quota LABEL=/lan /home ext3 exec,dev,suid,rw,usrquota,grpquota 1 2 your quota.conf file would be like this [root@Alpha root]# cat /etc/quota.conf [base] userdef.LABEL=/lan none 300000 350000 -1 -1 0 604800 groupdef.LABEL=/lan none 9000000 100000 -1 -1 0 604800 :-) |
Who says he has linuxconf?
|
If he dont have it then I guess thats why I put the other info in there!
|
All times are GMT -5. The time now is 02:45 AM. |