set quotas for virtual server USER

My SOlaris 9  system is using Apache2 as a webserver and Webmin as a ISP control (to create virtual server)

I used webmin to create USER with home directory is located at /usr/local/apahce2/htdocs/user_name

How can I set quotas for those USERS coresponding to theirs' home directories?

Webmin does incude Disk Quotas; however, that module can only set quota for / and /home, not /usr/local/apache2/htdocs/user_name

Can the experts help me?
I am trying to build up 2 servers by myself and those problems couter me

Thanks alo
best regard
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


   To set quota on Solaris,
1. Edit the /etc/vfstab file as root, and add "rq" flag to the mount options field for /usr (or /usr/local).
    This enables quotas for the file system.
2. # cd /usr (or /usr/local, depends on you mount as /usr or /usr/local)
3. # touch quotas; chmod u+rw quotas
4. # edquota <user_name>
5. # quotaon /usr ( or /usr/local )
6. Check the quota
 # quota -v <user_name>


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Please following the instructions in the following page to setup the quota:

PS: Have a look at you /etc//etc/vfstab  file to find out the mount point (filesystem)
     for /usr/local/apache2/htdocs then setup the quota.

     Pay attention to "Soft Limits vs. Hard Limits" and "How to Set Up Quotas for Multiple Users "

    The instruction in the above page is for Solaris 7, it also apply to Solaris 9, you can
get the Sun docs from (for Solaris x):
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.