Permalink
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (12 sloc) 679 Bytes
drupal-jailadmin
===============
A Drupal 7 module to make administration of FreeBSD vnet jails easy.
Requirements
============
* security/sudo
- Your webserver user will need passwordless root-level access to the following commands: /sbin/zfs, /sbin/mount, /sbin/umount, /sbin/ifconfig, /usr/sbin/jail, /usr/sbin/jexec, /usr/sbin/jls, /bin/sh, /usr/bin/make
(sh is for setting up config files inside the jail, make is for running `make installworld`)
Sudo Example
============
Cmnd_Alias WWWNOPASSWD = /sbin/zfs, /sbin/mount, /sbin/umount, /sbin/ifconfig, /usr/sbin/jail, /usr/sbin/jexec, /usr/sbin/jls, /bin/sh, /usr/bin/make
www ALL=(ALL) NOPASSWD: WWWNOPASSWD