Jail and disk space
bkoenig at cs.tu-berlin.de
Mon Jun 6 06:13:50 GMT 2005
> Could I use quota to limit jails?
You can add each user of a jail to a specific jail group and use group
quotas at the host environment. These words as shell commands:
insidethejail# pw addgroup jail01 -g 8001 -M `grep -v '^#'
/etc/master.passwd | cut -d: -f1 | tr '\n' ','`
outsidethejail# pw addgroup jail01 -g 8001 && edquota -g jail01
This is obviously not a safe limitation as long as the root user of a
jail is able to remove users from this group.
More information about the freebsd-questions