summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/example/ezjail.flavour31
1 files changed, 31 insertions, 0 deletions
diff --git a/examples/example/ezjail.flavour b/examples/example/ezjail.flavour
new file mode 100755
index 0000000..eee2a67
--- /dev/null
+++ b/examples/example/ezjail.flavour
@@ -0,0 +1,31 @@
1# ezjail flavour 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,..]:comment:cryptpw:[-]homedir:shell
8#
9# Note: Since ' ' (space) does not survive shell expansion, still often is
10# useful in the comment field, '=' will be converted to ' '.
11#
12# Note: Always use ''' (single ticks) to provide variables containing '$'s
13#
14# Example:
15#
16# ezjail_flavour_users='::heroes:1003:::: \
17# admin::wheel::Admin=User:$1$p75bbfK.$Kz3dwkoVlgZrfLZdAXQt91:/home/admin:/bin/sh \
18# pgsql:1002:pgsql:1002:Post=Gres::-/usr/local/psql:/bin/nologin'
19
20# ezjails init script tries to install all files listed here from the path
21# /config to the corresponding location inside the jail. Directories are being
22# copied recursively.
23# Format is as follows:
24#
25# user:group:file(s)
26#
27# Example:
28#
29# ezjail_flavour_files='root:wheel:/etc/*.conf \
30# root:wheel:/etc/localtime \
31# admin:wheel:/home/admin/'