summaryrefslogtreecommitdiff
path: root/examples/example/ezjail.flavour
blob: eee2a6794804fafcb24275cd1ffcd40b524719f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# ezjail flavour example
# refer to ezjail(5) for more information
#
# ezjails jail init script tries to create the following users. Format is 
# as follows:
#
# username:uid:group[,group,..]:gid[,gid,..]:comment:cryptpw:[-]homedir:shell
#
# Note: Since ' ' (space) does not survive shell expansion, still often is
# useful in the comment field, '=' will be converted to ' '.
#
# Note: Always use ''' (single ticks) to provide variables containing '$'s
#
# Example:
#
# ezjail_flavour_users='::heroes:1003:::: \
# admin::wheel::Admin=User:$1$p75bbfK.$Kz3dwkoVlgZrfLZdAXQt91:/home/admin:/bin/sh \
# pgsql:1002:pgsql:1002:Post=Gres::-/usr/local/psql:/bin/nologin'

# ezjails init script tries to install all files listed here from the path 
# /config to the corresponding location inside the jail. Directories are being
# copied recursively. 
# Format is as follows:
#
# user:group:file(s)
#
# Example:
#
# ezjail_flavour_files='root:wheel:/etc/*.conf \
#  root:wheel:/etc/localtime \
#  admin:wheel:/home/admin/'