| 5 | [[TOC]] |
| 6 | |
| 7 | == FreeBSD Jail |
| 8 | file:/etc/devfs.rules @ host |
| 9 | {{{ |
| 10 | ... |
| 11 | [devfsrules_jail=4] |
| 12 | add include $devfsrules_hide_all |
| 13 | add include $devfsrules_unhide_basic |
| 14 | add include $devfsrules_unhide_login |
| 15 | add path zfs unhide |
| 16 | |
| 17 | add path 'unlpt*' unhide mode 0660 group 193 |
| 18 | add path 'ulpt*' unhide mode 0660 group 193 |
| 19 | add path 'lpt*' unhide mode 0660 group 193 |
| 20 | add path 'usb' unhide mode 0755 group 193 |
| 21 | add path 'ugen0.6' unhide mode 0660 group 193 |
| 22 | add path 'usb/0.6.0' unhide mode 0660 group 193 |
| 23 | add path 'usbctl' unhide mode 0660 group 193 |
| 24 | }}} |
| 25 | |
| 26 | jail# pkg install cups splix cups-filters |
| 27 | |
| 28 | |
| 29 | file:/etc/rc.conf @ jail |
| 30 | {{{ |
| 31 | cupsd_enable="YES" |
| 32 | avahi_daemon_enable="YES" |
| 33 | dbus_enable="YES" |
| 34 | }}} |