Jails und Quotas = Die Loesung

Da die Seite nicht erreichbar ist, hier der Text:
I have come up with a method to actually use disk quotas in a jail.
All you need to do is match the UID or GID (I prefer to use GIDs) from
the master system and in the jail.

So, if I have a user named "testuser" which has paid for 30MB of disk
space, I would do the following:

* create the account in my jail, "testuser" with a login group of
"testgroup"
* in the real system, create a group called "testgroup" with the same
GID from the jail
* use "edquota -g testgroup" and set the blocks to 30MB on the mount
point which contains the jail

Some notes;

Make sure that the GID is uniq on your system
 
Zurück
Oben