summaryrefslogtreecommitdiff
path: root/ezjail.template
diff options
context:
space:
mode:
Diffstat (limited to 'ezjail.template')
-rw-r--r--ezjail.template36
1 files changed, 36 insertions, 0 deletions
diff --git a/ezjail.template b/ezjail.template
new file mode 100644
index 0000000..3f7ebb1
--- /dev/null
+++ b/ezjail.template
@@ -0,0 +1,36 @@
1# ezjail template example
2# refer to ezjail(5) for more information
3#
4# ezjails jail init script tries to create the following users. Format is
5# as follows:
6#
7# username:<uid>:group[,group,...]:<gid[,gid,...]>:cryptpw:[-]homedir:shell
8#
9# Example:
10#
11# ezjail_template_users=\
12# "admin::wheel::$1$p75bbfK.$Kz3dwkoVlgZrfLZdAXQt91:/home/admin:/bin/sh \
13# pgsql:1002:pgsql:1002:*:-/usr/local/psql:/bin/nologin \
14# ::heroes:1003::::"
15
16# ezjails init script tries to install all files listed here from the path
17# specified in the ezjail_template_root variable root to the corresponding
18# location inside the jail. Directories are being copied recursive. Format
19# is as follows:
20#
21# user:group:file(s)
22#
23# Example:
24#
25# ezjail_template_root=/basejail/config/_JAILNAME_
26# ezjail_template_files=\
27# "root:wheel:/etc/{resolv,rc,make}.conf \
28# admin:wheel:/home/admin/"
29
30# ezjails jail init script tries to install packages specified in the
31# ezjail_template_packages variable. All packages without an absolute
32# path are assumed to be located in /basejail/config/pkg
33#
34# Example:
35#
36# ezjail_template_packages="sudo-1.6.8.9.tbz pico-4.64.tbz"