summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xexamples/example/ezjail.flavour5
-rwxr-xr-xman1/ezjail-admin.130
2 files changed, 30 insertions, 5 deletions
diff --git a/examples/example/ezjail.flavour b/examples/example/ezjail.flavour
index 093d123..6b33d11 100755
--- a/examples/example/ezjail.flavour
+++ b/examples/example/ezjail.flavour
@@ -17,15 +17,12 @@
17# admin::wheel::Admin=User:$1$p75bbfK.$Kz3dwkoVlgZrfLZdAXQt91:/home/admin:/bin/sh \ 17# admin::wheel::Admin=User:$1$p75bbfK.$Kz3dwkoVlgZrfLZdAXQt91:/home/admin:/bin/sh \
18# pgsql:1002:pgsql:1002:Post=Gres::-/usr/local/psql:/bin/nologin' 18# pgsql:1002:pgsql:1002:Post=Gres::-/usr/local/psql:/bin/nologin'
19 19
20# ezjail-admin script installs all files found in FLAVOUR/root to the
21# new jail's root
22#
23# Files or directories that should not belong to root:wheel will be 20# Files or directories that should not belong to root:wheel will be
24# chowned -R according to the following variable 21# chowned -R according to the following variable
25# 22#
26# Format is as follows: 23# Format is as follows:
27# 24#
28# user:group:file(s) 25# user:group:file[:file...]
29# 26#
30# Example: 27# Example:
31# 28#
diff --git a/man1/ezjail-admin.1 b/man1/ezjail-admin.1
index aaa40d2..fd19f55 100755
--- a/man1/ezjail-admin.1
+++ b/man1/ezjail-admin.1
@@ -140,6 +140,34 @@ is being sourced, if it exists.
140 140
141.I ezjail-config.sh 141.I ezjail-config.sh
142then removes all traces, including itself. 142then removes all traces, including itself.
143.SH EZJAIL.FLAVOUR
144The ezjail.flavour file found in a flavour directory usually provides
145two variables:
146
147.B ezjail_flavour_users
148.br
149a white space separated list of colon separated entries passed to the
150pw command after some processing. Refer to the pw(8) man page for more
151information. Format of an entry in the list is:
152
153username:uid:group[,group2,..]:gid[,gid2,..]:comment:pw:[-]home:shell
154
155where each group specified in the group list is being created (with the
156given gid for each group) if possible and necessary, before the user is
157added to that group. The character '=' in the comment field is being
158substituted by ' ' (space) to simplify escaping. The pw is being written
159verbatim to the passwd db, see pw(8). If the home directory begins with
160a '-' (dash), it is meant not to be created by the pw command. The dash
161will of course be removed. It is not possible to specify a shell here
162that will be installed by a package in /pkg.
163
164.B ezjail_flavour_files
165.br
166a white space separated list of colon separated entries passed to the
167chown -R command after some processing. Refer to the chown(8) man page
168for more information. Format of an entry in the list is:
169
170user:group:file[:file2...]
143.SH EXAMPLES 171.SH EXAMPLES
144ezjail-admin update -p 172ezjail-admin update -p
145.br 173.br
@@ -166,6 +194,6 @@ EZJAIL_PREFIX/etc/rc.d/ezjail.sh
166.br 194.br
167EZJAIL_PREFIX/share/examples/ezjail/ 195EZJAIL_PREFIX/share/examples/ezjail/
168.SH "SEE ALSO" 196.SH "SEE ALSO"
169ezjail(5), ezjail.conf(5), jail(8), devfs(5), fdescfs(5), procfs(5) 197ezjail(5), ezjail.conf(5), jail(8), devfs(5), fdescfs(5), procfs(5), pw(8)
170.SH AUTHOR 198.SH AUTHOR
171Dirk Engling <erdgeist@erdgeist.org> 199Dirk Engling <erdgeist@erdgeist.org>