An easy method of creating disk quotas for users

Jul 18, '03 09:59:00AM

Contributed by: Anonymous

I had been trying to setup disk quotas on an iMac with multiple users. I had been asking around, and no one could tell me an easy way other than partitioning the HD for each user. This would be easy, but what if I want to add more users or delete users and reallocate the free space? So I have found the solution, which was there the whole time I had been searching.

  1. Download Webmin and install it on the machine on which you wish to enable quotas. It might be a little difficult for some people, but just read the instructions and you will have no problems.
  2. Login to Webmin, click on the System button, then click on the Disk quotas button.
  3. Choose the filesystem where you want disk quotas enabled, and click the Enable Quotas link. Then choose users and set your quotas.
Optional: If the users exceed their limits, do you want to give them a grace period to backup and delete some data? This is good in educational situations.

Using webmin, I was able to set up disk quotas for five users in less than 10 minutes.

[robg adds: I'm sure someone will volunteer the command-line solution to this problem, but Webmin seems like an easy way to accomplish the same results. We've run a few hints about Webmin in the past (Original hint, Revised original hint, Secure Webmin with SSL) ... if you haven't checked it out, it's well worth a look.]

Comments (6)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20030715190021961